[hg] cnd-main: i18n

  • From: Vladimir Kvashin < >
  • To:
  • Subject: [hg] cnd-main: i18n
  • Date: Thu, 17 Jan 2013 02:23:17 -0800

changeset 71b5abce57e5 in cnd-main ((none))
details: http://hg.netbeans.org/cnd-main/rev/71b5abce57e5
description:
        i18n

diffstat:

 
dlight.libs.common/src/org/netbeans/modules/dlight/libs/common/FileStatistics.java
 |  14 +++++-----
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (52 lines):

diff --git 
a/dlight.libs.common/src/org/netbeans/modules/dlight/libs/common/FileStatistics.java
 
b/dlight.libs.common/src/org/netbeans/modules/dlight/libs/common/FileStatistics.java
--- 
a/dlight.libs.common/src/org/netbeans/modules/dlight/libs/common/FileStatistics.java
+++ 
b/dlight.libs.common/src/org/netbeans/modules/dlight/libs/common/FileStatistics.java
@@ -69,14 +69,14 @@
         extensionsToInclude = new TreeSet<String>();
         String extList = 
System.getProperty("dlight.file.read.statistics.include.extensions"); //NOI18N
         if (extList != null) {
-            String[] splitExt = extList.split(",");
+            String[] splitExt = extList.split(","); // NOI18N
             extensionsToInclude.addAll(Arrays.asList(splitExt));
         }
         
         namesToExclude = new TreeSet<String>();
         String nameList = 
System.getProperty("dlight.file.read.statistics.exclude.names"); //NOI18N
         if (nameList != null) {
-            String[] splitNam = nameList.split(",");
+            String[] splitNam = nameList.split(","); // NOI18N
             namesToExclude.addAll(Arrays.asList(splitNam));
         }
     }
@@ -101,8 +101,8 @@
         for (int i = 0; i < stack.length; i++) {
             StackTraceElement st = stack[i];
             if (!st.getClassName().startsWith(thisClassName) && 
-                    !st.getClassName().startsWith("java.util.logging") &&
-                    !st.getClassName().startsWith("java.lang.Thread")) {
+                    !st.getClassName().startsWith("java.util.logging") && // 
NOI18N
+                    !st.getClassName().startsWith("java.lang.Thread")) { // 
NOI18N
                 result.add(st);
             }                
         }
@@ -197,9 +197,9 @@
 
     private void printf(String indent, String pattern, Object... args) {
         String formattedString = String.format(pattern, args);
-        String[] lines = formattedString.split("\n");
+        String[] lines = formattedString.split("\n"); // NOI18N
         for (int i = 0; i < lines.length; i++) {
-            out.printf("%s%s%s\n", PREFIX,  indent, lines[i]);
+            out.printf("%s%s%s\n", PREFIX,  indent, lines[i]); // NOI18N
         }
         out.flush();
     }
@@ -224,7 +224,7 @@
             readCount += cnt.getCount();
         }
         {
-            out.printf("\n\n\n");
+            out.printf("\n\n\n"); // NOI18N
             printf("\nFile Read Statistics by Path\n"); // NOI18N
             printf("Files count: %d reads count: %d\n", files.size(), 
readCount); // NOI18N
             printf("\t   Cnt  File\n"); // NOI18N

[hg] cnd-main: i18n

Vladimir Kvashin 01/17/2013

Project Features

About this Project

CND was started in November 2009, is owned by Leonid Lenyashin, and has 130 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close