devicemap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From re...@apache.org
Subject svn commit: r1693173 - in /devicemap/trunk/clients/2.0/reference/src: DeviceMapClient.java Main.java
Date Wed, 29 Jul 2015 00:25:57 GMT
Author: rezan
Date: Wed Jul 29 00:25:57 2015
New Revision: 1693173

URL: http://svn.apache.org/r1693173
Log:
client version

Added:
    devicemap/trunk/clients/2.0/reference/src/DeviceMapClient.java
Modified:
    devicemap/trunk/clients/2.0/reference/src/Main.java

Added: devicemap/trunk/clients/2.0/reference/src/DeviceMapClient.java
URL: http://svn.apache.org/viewvc/devicemap/trunk/clients/2.0/reference/src/DeviceMapClient.java?rev=1693173&view=auto
==============================================================================
--- devicemap/trunk/clients/2.0/reference/src/DeviceMapClient.java (added)
+++ devicemap/trunk/clients/2.0/reference/src/DeviceMapClient.java Wed Jul 29 00:25:57 2015
@@ -0,0 +1,24 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+public class DeviceMapClient {
+  
+  public final static String VERSION = "2.0";
+
+}

Modified: devicemap/trunk/clients/2.0/reference/src/Main.java
URL: http://svn.apache.org/viewvc/devicemap/trunk/clients/2.0/reference/src/Main.java?rev=1693173&r1=1693172&r2=1693173&view=diff
==============================================================================
--- devicemap/trunk/clients/2.0/reference/src/Main.java (original)
+++ devicemap/trunk/clients/2.0/reference/src/Main.java Wed Jul 29 00:25:57 2015
@@ -22,10 +22,8 @@ import java.util.List;
 
 public class Main {
   
-  public final static String VERSION = "2.0";
-
   public static void main(String args[]) {
-    System.out.println("DeviceMap Reference Client " + VERSION);
+    System.out.println("DeviceMap Reference Client " + DeviceMapClient.VERSION);
 
     List<String> patterns = new ArrayList<String>();
     List<String> attributes = new ArrayList<String>();



Mime
View raw message