onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1503754 - in /onami/sandbox/console/src/main/java/org/apache/onami/console/commands: Config.java History.java Version.java
Date Tue, 16 Jul 2013 15:15:47 GMT
Author: simonetripodi
Date: Tue Jul 16 15:15:46 2013
New Revision: 1503754

URL: http://svn.apache.org/r1503754
Log:
no setters needed, lightweight classes

Modified:
    onami/sandbox/console/src/main/java/org/apache/onami/console/commands/Config.java
    onami/sandbox/console/src/main/java/org/apache/onami/console/commands/History.java
    onami/sandbox/console/src/main/java/org/apache/onami/console/commands/Version.java

Modified: onami/sandbox/console/src/main/java/org/apache/onami/console/commands/Config.java
URL: http://svn.apache.org/viewvc/onami/sandbox/console/src/main/java/org/apache/onami/console/commands/Config.java?rev=1503754&r1=1503753&r2=1503754&view=diff
==============================================================================
--- onami/sandbox/console/src/main/java/org/apache/onami/console/commands/Config.java (original)
+++ onami/sandbox/console/src/main/java/org/apache/onami/console/commands/Config.java Tue
Jul 16 15:15:46 2013
@@ -46,11 +46,6 @@ public final class Config
     @InjectLogger
     private Logger logger;
 
-    public void setInjector( Injector injector )
-    {
-        this.injector = injector;
-    }
-
     public void run()
     {
         for ( Entry<Key<?>, Binding<?>> binding : injector.getAllBindings().entrySet()
)

Modified: onami/sandbox/console/src/main/java/org/apache/onami/console/commands/History.java
URL: http://svn.apache.org/viewvc/onami/sandbox/console/src/main/java/org/apache/onami/console/commands/History.java?rev=1503754&r1=1503753&r2=1503754&view=diff
==============================================================================
--- onami/sandbox/console/src/main/java/org/apache/onami/console/commands/History.java (original)
+++ onami/sandbox/console/src/main/java/org/apache/onami/console/commands/History.java Tue
Jul 16 15:15:46 2013
@@ -41,11 +41,6 @@ public final class History
     @Inject
     private jline.console.history.History history;
 
-    public void setHistory( jline.console.history.History history )
-    {
-        this.history = history;
-    }
-
     public void run()
     {
         ListIterator<Entry> entries = history.entries();

Modified: onami/sandbox/console/src/main/java/org/apache/onami/console/commands/Version.java
URL: http://svn.apache.org/viewvc/onami/sandbox/console/src/main/java/org/apache/onami/console/commands/Version.java?rev=1503754&r1=1503753&r2=1503754&view=diff
==============================================================================
--- onami/sandbox/console/src/main/java/org/apache/onami/console/commands/Version.java (original)
+++ onami/sandbox/console/src/main/java/org/apache/onami/console/commands/Version.java Tue
Jul 16 15:15:46 2013
@@ -89,71 +89,6 @@ public final class Version
     @Named( "path.separator" )
     private String pathSeparathor;
 
-    public void setProjectName( String projectName )
-    {
-        this.projectName = projectName;
-    }
-
-    public void setProjectVersion( String projectVersion )
-    {
-        this.projectVersion = projectVersion;
-    }
-
-    public void setImplementationBuild( String implementationBuild )
-    {
-        this.implementationBuild = implementationBuild;
-    }
-
-    public void setJavaVersion( String javaVersion )
-    {
-        this.javaVersion = javaVersion;
-    }
-
-    public void setJavaVendor( String javaVendor )
-    {
-        this.javaVendor = javaVendor;
-    }
-
-    public void setJavaHome( String javaHome )
-    {
-        this.javaHome = javaHome;
-    }
-
-    public void setUserLanguage( String userLanguage )
-    {
-        this.userLanguage = userLanguage;
-    }
-
-    public void setUserCountry( String userCountry )
-    {
-        this.userCountry = userCountry;
-    }
-
-    public void setEncoding( String encoding )
-    {
-        this.encoding = encoding;
-    }
-
-    public void setOsName( String osName )
-    {
-        this.osName = osName;
-    }
-
-    public void setOsVersion( String osVersion )
-    {
-        this.osVersion = osVersion;
-    }
-
-    public void setOsArch( String osArch )
-    {
-        this.osArch = osArch;
-    }
-
-    public void setPathSeparathor( String pathSeparathor )
-    {
-        this.pathSeparathor = pathSeparathor;
-    }
-
     public void run()
     {
         logger.info( "{} {} (r{})", projectName, projectVersion, implementationBuild );



Mime
View raw message