Sfoglia il codice sorgente

YARN-7664. Several javadoc errors. Contributed by Sean Mackrory.

Akira Ajisaka 7 anni fa
parent
commit
01dd11d977

+ 1 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/util/resource/ResourceUtils.java

@@ -423,7 +423,7 @@ public class ResourceUtils {
    * Extract unit and actual value from resource value.
    * @param resourceValue Value of the resource
    * @return Array containing unit and value. [0]=unit, [1]=value
-   * @throws IllegalArgumentExcpetion if units contain non alpha characters
+   * @throws IllegalArgumentException if units contain non alpha characters
    */
   public static String[] parseResourceValue(String resourceValue) {
     String[] resource = new String[2];