Explorar o código

KeyInput: resolve a javadoc warning (no @return)

Stephen Gold %!s(int64=4) %!d(string=hai) anos
pai
achega
f296cd3362
Modificáronse 1 ficheiros con 6 adicións e 5 borrados
  1. 6 5
      jme3-core/src/main/java/com/jme3/input/KeyInput.java

+ 6 - 5
jme3-core/src/main/java/com/jme3/input/KeyInput.java

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009-2012 jMonkeyEngine
+ * Copyright (c) 2009-2021 jMonkeyEngine
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -559,10 +559,11 @@ public interface KeyInput extends Input {
      */
     public static final int KEY_LAST = 0xE0;
 
-
     /**
-    * Returns the name of the specified keycode in the current system language.
-    * @param key The keycode from {@link com.jme3.input.KeyInput}
-    */
+     * Determine the name of the specified key in the current system language.
+     *
+     * @param key The keycode from {@link com.jme3.input.KeyInput}
+     * @return the name of the key
+     */
     public String getKeyName(int key);
 }