langtools/test/jdk/javadoc/tool/CheckResourceKeys.java
changeset 40308 274367a99f98
parent 36526 3b41f1c69604
child 41252 058d83c9b1c7
equal deleted inserted replaced
40306:1a0fcaf3f2ed 40308:274367a99f98
   146             if (rk.startsWith("doclet.usage.") || rk.startsWith("doclet.xusage"))
   146             if (rk.startsWith("doclet.usage.") || rk.startsWith("doclet.xusage"))
   147                 continue;
   147                 continue;
   148             if (codeKeys.contains(rk))
   148             if (codeKeys.contains(rk))
   149                 continue;
   149                 continue;
   150 
   150 
   151             error("Resource key not found in code: " + rk);
   151             error("Resource key not found in code: '" + rk + '"');
   152         }
   152         }
   153     }
   153     }
   154 
   154 
   155     /**
   155     /**
   156      * For all strings in the code that look like they might be
   156      * For all strings in the code that look like they might be