8153041: Remove unused redundant parameter in CLDRConverter
authornaoto
Mon, 04 Apr 2016 10:45:56 -0700
changeset 36857 3e52f7c8ad89
parent 36856 81c718cdeb09
child 36858 53f90d1cdac4
child 36925 8c0e589deadb
child 36940 2696577a976c
8153041: Remove unused redundant parameter in CLDRConverter Reviewed-by: okutsu
jdk/make/src/classes/build/tools/cldrconverter/LDMLParseHandler.java
--- a/jdk/make/src/classes/build/tools/cldrconverter/LDMLParseHandler.java	Mon Apr 04 17:51:41 2016 +0100
+++ b/jdk/make/src/classes/build/tools/cldrconverter/LDMLParseHandler.java	Mon Apr 04 10:45:56 2016 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -786,10 +786,10 @@
         return keyName;
     }
 
-    private String getTarget(String qName, String path, String calType, String context, String width) {
-        // qName
+    private String getTarget(String path, String calType, String context, String width) {
+        // Target qName
         int lastSlash = path.lastIndexOf('/');
-        qName = path.substring(lastSlash+1);
+        String qName = path.substring(lastSlash+1);
         int bracket = qName.indexOf('[');
         if (bracket != -1) {
             qName = qName.substring(0, bracket);
@@ -885,7 +885,7 @@
                     String[] tmp = keyName.split(",", 3);
                     String calType = currentCalendarType.lname();
                     String src = calType+"."+tmp[0];
-                    String target = getTarget(containerqName,
+                    String target = getTarget(
                                 entry.getKey(),
                                 calType,
                                 tmp[1].length()>0 ? tmp[1] : currentContext,