db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From banda...@apache.org
Subject svn commit: rev 53895 - incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook
Date Wed, 06 Oct 2004 19:22:07 GMT
Author: bandaram
Date: Wed Oct  6 12:22:06 2004
New Revision: 53895

Modified:
   incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Check.java
   incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Index.java
   incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Jar.java
   incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Key.java
   incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Schema.java
   incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_StoredProcedure.java
   incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Table.java
   incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Trigger.java
   incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_View.java
Log:
Commit two dblook patches. First patch enables localizations of dblook messages. The second
patch from Jalud fixes some minor argument passing issue

Modified: incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Check.java
==============================================================================
--- incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Check.java
(original)
+++ incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Check.java
Wed Oct  6 12:22:06 2004
@@ -62,7 +62,7 @@
 
 			if (firstTime) {
 				Logs.reportString("----------------------------------------------");
-				Logs.reportMessage("CSLOOK_Header", "checks");
+				Logs.reportMessage("CSLOOK_ChecksHeader");
 				Logs.reportString("----------------------------------------------\n");
 			}
 

Modified: incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Index.java
==============================================================================
--- incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Index.java
(original)
+++ incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Index.java
Wed Oct  6 12:22:06 2004
@@ -72,7 +72,7 @@
 
 			if (firstTime) {
 				Logs.reportString("----------------------------------------------");
-				Logs.reportMessage("CSLOOK_Header", "indexes");
+				Logs.reportMessage("CSLOOK_IndexesHeader");
 				Logs.reportString("----------------------------------------------\n");
 			}
 

Modified: incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Jar.java
==============================================================================
--- incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Jar.java	(original)
+++ incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Jar.java	Wed
Oct  6 12:22:06 2004
@@ -67,7 +67,7 @@
 
 			if (firstTime) {
 				Logs.reportString("----------------------------------------------");
-				Logs.reportMessage("CSLOOK_Header", "jars");
+				Logs.reportMessage("CSLOOK_JarsHeader");
 				Logs.reportMessage("CSLOOK_Jar_Note");
 				Logs.reportString("----------------------------------------------\n");
 			}

Modified: incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Key.java
==============================================================================
--- incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Key.java	(original)
+++ incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Key.java	Wed
Oct  6 12:22:06 2004
@@ -110,9 +110,9 @@
 			if (firstTime) {
 				printHeader();
 				if (rs.getString(2).equals("F"))
-					Logs.reportString(" Foreign\n");
+					Logs.reportMessage("CSLOOK_ForeignHeader");
 				else
-					Logs.reportString(" Primary/unique\n");
+					Logs.reportMessage("CSLOOK_PrimUniqueHeader");
 			}
 
 			StringBuffer kString = createKeyString(tableId, tableName, rs);
@@ -260,7 +260,7 @@
 			return;
 
 		Logs.reportString("----------------------------------------------");
-		Logs.reportMessage("CSLOOK_Header", "keys");
+		Logs.reportMessage("CSLOOK_KeysHeader");
 		Logs.reportString("----------------------------------------------\n");
 		printedHeader = true;
 

Modified: incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Schema.java
==============================================================================
--- incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Schema.java
(original)
+++ incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Schema.java
Wed Oct  6 12:22:06 2004
@@ -63,7 +63,7 @@
 
 			if (firstTime) {
 				Logs.reportString("----------------------------------------------");
-				Logs.reportMessage("CSLOOK_Header", "schemas");
+				Logs.reportMessage("CSLOOK_SchemasHeader");
 				Logs.reportString("----------------------------------------------\n");
 			}
 

Modified: incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_StoredProcedure.java
==============================================================================
--- incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_StoredProcedure.java
(original)
+++ incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_StoredProcedure.java
Wed Oct  6 12:22:06 2004
@@ -75,7 +75,7 @@
 
 			if (firstTime) {
 				Logs.reportString("----------------------------------------------");
-				Logs.reportMessage("CSLOOK_Header", "stored procedures");
+				Logs.reportMessage("CSLOOK_StoredProcHeader");
 				Logs.reportString("----------------------------------------------\n");
 			}
 

Modified: incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Table.java
==============================================================================
--- incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Table.java
(original)
+++ incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Table.java
Wed Oct  6 12:22:06 2004
@@ -85,7 +85,7 @@
 
 			if (firstTime) {
 				Logs.reportString("----------------------------------------------");
-				Logs.reportMessage("CSLOOK_Header", "tables");
+				Logs.reportMessage("CSLOOK_TablesHeader");
 				Logs.reportString("----------------------------------------------\n");
 			}
 

Modified: incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Trigger.java
==============================================================================
--- incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Trigger.java
(original)
+++ incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_Trigger.java
Wed Oct  6 12:22:06 2004
@@ -73,7 +73,7 @@
 
 			if (firstTime) {
 				Logs.reportString("----------------------------------------------");
-				Logs.reportMessage("CSLOOK_Header", "triggers");
+				Logs.reportMessage("CSLOOK_TriggersHeader");
 				Logs.reportString("----------------------------------------------\n");
 			}
 

Modified: incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_View.java
==============================================================================
--- incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_View.java
(original)
+++ incubator/derby/code/trunk/java/tools/org/apache/derby/impl/tools/cslook/DB_View.java
Wed Oct  6 12:22:06 2004
@@ -58,7 +58,7 @@
 
 			if (firstTime) {
 				Logs.reportString("----------------------------------------------");
-				Logs.reportMessage("CSLOOK_Header", "views");
+				Logs.reportMessage("CSLOOK_ViewsHeader");
 				Logs.reportString("----------------------------------------------\n");
 			}
 

Mime
View raw message