db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r426671 - /db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/Main.java
Date Fri, 28 Jul 2006 21:30:36 GMT
Author: djd
Date: Fri Jul 28 14:30:36 2006
New Revision: 426671

URL: http://svn.apache.org/viewvc?rev=426671&view=rev
Log:
DEBRY-1609 (partial) Minor cleanup in ij.Main.java, remove unused field & method
and make two public fields private.

Modified:
    db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/Main.java

Modified: db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/Main.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/Main.java?rev=426671&r1=426670&r2=426671&view=diff
==============================================================================
--- db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/Main.java (original)
+++ db/derby/code/trunk/java/tools/org/apache/derby/impl/tools/ij/Main.java Fri Jul 28 14:30:36
2006
@@ -57,11 +57,8 @@
  *
  */
 public class Main {
-	public LocalizedOutput out;
-	public utilMain utilInstance;
-	public Class langUtilClass;
-
-
+	private LocalizedOutput out;
+	private utilMain utilInstance;
 
 	/**
 	 * ij can be used directly on a shell command line through
@@ -205,15 +202,6 @@
 	{
 		LocalizedInput[] inA = { in } ;
 		utilInstance.go(inA, out,connAttributeDefaults);
-	}
-
-	public void go(InputStream in, PrintStream out, 
-				   Properties connAttributeDefaults)
-	{
-    initAppUI();
-    	LocalizedResource langUtil = LocalizedResource.getInstance();
-		go(langUtil.getNewInput(in), langUtil.getNewOutput(out),
-			   connAttributeDefaults);
 	}
 
 	/**



Mime
View raw message