changeset 60197:2535c3e1e777

8248864: JPackage test extension misspelled "extention" Reviewed-by: asemenyuk, almatvee, prr
author herrick
date Wed, 15 Jul 2020 14:53:05 -0400
parents 9f7dc6109edd
children 57f133217ff7
files src/jdk.incubator.jpackage/share/classes/jdk/incubator/jpackage/internal/FileAssociation.java test/jdk/tools/jpackage/helpers/jdk/jpackage/test/FileAssociations.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.incubator.jpackage/share/classes/jdk/incubator/jpackage/internal/FileAssociation.java	Wed Jul 15 21:52:56 2020 +0530
+++ b/src/jdk.incubator.jpackage/share/classes/jdk/incubator/jpackage/internal/FileAssociation.java	Wed Jul 15 14:53:05 2020 -0400
@@ -49,7 +49,7 @@
     }
 
     static void verify(List<FileAssociation> associations) throws ConfigException {
-        // only one mime type per association, at least one file extention
+        // only one mime type per association, at least one file extension
         int assocIdx = 0;
         for (var assoc : associations) {
             ++assocIdx;
--- a/test/jdk/tools/jpackage/helpers/jdk/jpackage/test/FileAssociations.java	Wed Jul 15 21:52:56 2020 +0530
+++ b/test/jdk/tools/jpackage/helpers/jdk/jpackage/test/FileAssociations.java	Wed Jul 15 14:53:05 2020 -0400
@@ -32,7 +32,7 @@
     public FileAssociations(String faSuffixName) {
         suffixName = faSuffixName;
         setFilename("fa");
-        setDescription("jpackage test extention");
+        setDescription("jpackage test extension");
     }
 
     private void createFile() {