@@ -85,16 +85,6 @@ public String getDate() {
8585 return info .getProperty ("date" , "Unknown" );
8686 }
8787
88- @ Override
89- public String getUser () {
90- return info .getProperty ("user" , "Unknown" );
91- }
92-
93- @ Override
94- public String getUrl () {
95- return info .getProperty ("url" , "Unknown" );
96- }
97-
9888 @ Override
9989 public String getSrcChecksum () {
10090 return info .getProperty ("srcChecksum" , "Unknown" );
@@ -104,7 +94,6 @@ public String getSrcChecksum() {
10494 public String getBuildVersion () {
10595 return this .getVersion ()
10696 + " from " + getRevision ()
107- + " by " + getUser ()
10897 + " source checksum " + getSrcChecksum ();
10998 }
11099 }
@@ -223,22 +212,6 @@ public static String getDate() {
223212 return OUR_FULL_VERSION .getDate ();
224213 }
225214
226- /**
227- * Get the name of the user that did the build.
228- * @return the name of the user that did the build.
229- */
230- public static String getUser () {
231- return OUR_FULL_VERSION .getUser ();
232- }
233-
234- /**
235- * Get the full SCM URL for the build.
236- * @return the SCM URL of the build.
237- */
238- public static String getUrl () {
239- return OUR_FULL_VERSION .getUrl ();
240- }
241-
242215 /**
243216 * Get the checksum of the source.
244217 * @return the checksum of the source.
@@ -257,9 +230,7 @@ public static String getBuildVersion() {
257230
258231 public static void main (String [] args ) {
259232 System .out .println ("Storm " + getVersion ());
260- System .out .println ("URL " + getUrl () + " -r " + getRevision ());
261233 System .out .println ("Branch " + getBranch ());
262- System .out .println ("Compiled by " + getUser () + " on " + getDate ());
263234 System .out .println ("From source with checksum " + getSrcChecksum ());
264235 }
265236}
0 commit comments