cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1162894 - in /cxf/trunk/distribution/src/main/release/samples: logbrowser/src/demo/service/ mtosi_1.1/alarm_retrieval/src/demo/client/ mtosi_1.1/alarm_retrieval/src/demo/server/ mtosi_1.1/alarm_retrieval/src/org/ mtosi_1.1/alarm_retrieval/...
Date Mon, 29 Aug 2011 16:38:49 GMT
Author: dkulp
Date: Mon Aug 29 16:38:48 2011
New Revision: 1162894

URL: http://svn.apache.org/viewvc?rev=1162894&view=rev
Log:
Fix checkstyle errors

Added:
    cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/
    cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/
    cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/
    cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/
    cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/client/
    cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/client/AsyncAlarmHandler.java
  (contents, props changed)
      - copied, changed from r1162870, cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/client/AsyncAlarmHandler.java
    cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/client/Client.java
  (contents, props changed)
      - copied, changed from r1162870, cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/client/Client.java
    cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/server/
    cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/server/AlarmRetrievalImpl.java
  (contents, props changed)
      - copied, changed from r1162870, cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/server/AlarmRetrievalImpl.java
    cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/server/Server.java
  (contents, props changed)
      - copied, changed from r1162870, cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/server/Server.java
Modified:
    cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/CustomerService.java
    cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/client/AsyncAlarmHandler.java
    cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/client/Client.java
    cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/server/AlarmRetrievalImpl.java
    cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/server/Server.java

Modified: cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/CustomerService.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/CustomerService.java?rev=1162894&r1=1162893&r2=1162894&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/CustomerService.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/logbrowser/src/demo/service/CustomerService.java
Mon Aug 29 16:38:48 2011
@@ -21,8 +21,8 @@ package demo.service;
 
 import java.util.HashMap;
 import java.util.Map;
+import java.util.logging.Level;
 import java.util.logging.Logger;
-import static java.util.logging.Level.*;
 import javax.ws.rs.Consumes;
 import javax.ws.rs.DELETE;
 import javax.ws.rs.GET;
@@ -49,12 +49,12 @@ public class CustomerService {
         Validate.notNull(id);
         Validate.notEmpty(id);
         
-        LOGGER.log(FINE, "Invoking getCustomer, id={0}", id);
+        LOGGER.log(Level.FINE, "Invoking getCustomer, id={0}", id);
 
         Customer customer = customers.get(Long.parseLong(id));
 
         if (customer == null) {
-            LOGGER.log(SEVERE, "Specified customer does not exist, id={0}", id);    
+            LOGGER.log(Level.SEVERE, "Specified customer does not exist, id={0}", id);  
 
         }
 
         return customer;
@@ -65,17 +65,17 @@ public class CustomerService {
     public Response updateCustomer(final Customer customer) {
         Validate.notNull(customer);
 
-        LOGGER.log(FINE, "Invoking updateCustomer, customer={0}", customer);
+        LOGGER.log(Level.FINE, "Invoking updateCustomer, customer={0}", customer);
 
         if (isCustomerExists(customer)) {
-            LOGGER.log(FINE, "Specified customer exists, update data, customer={0}", customer);
+            LOGGER.log(Level.FINE, "Specified customer exists, update data, customer={0}",
customer);
         } else {
-            LOGGER.log(WARNING, "Specified customer does not exist, add data, customer={0}",
customer);
+            LOGGER.log(Level.WARNING, "Specified customer does not exist, add data, customer={0}",
customer);
         }
 
         customers.put(customer.getId(), customer);
 
-        LOGGER.log(INFO, "Customer was updated successful, customer={0}", customer);
+        LOGGER.log(Level.INFO, "Customer was updated successful, customer={0}", customer);
         return Response.ok().build();
     }
 
@@ -85,19 +85,19 @@ public class CustomerService {
         Validate.notNull(id);
         Validate.notEmpty(id);
         
-        LOGGER.log(FINE, "Invoking deleteCustomer, id={0}", id);
+        LOGGER.log(Level.FINE, "Invoking deleteCustomer, id={0}", id);
 
         long identifier = Long.parseLong(id);
 
         Response response;
 
         if (isCustomerExists(identifier)) {
-            LOGGER.log(FINE, "Specified customer exists, remove data, id={0}", id);
+            LOGGER.log(Level.FINE, "Specified customer exists, remove data, id={0}", id);
             customers.remove(identifier);
-            LOGGER.log(INFO, "Customer was removed successful, id={0}", id);
+            LOGGER.log(Level.INFO, "Customer was removed successful, id={0}", id);
             response = Response.ok().build();
         } else {
-            LOGGER.log(SEVERE, "Specified customer does not exist, remove fail, id={0}",
id);
+            LOGGER.log(Level.SEVERE, "Specified customer does not exist, remove fail, id={0}",
id);
             response = Response.notModified().build();
         }
 

Copied: cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/client/AsyncAlarmHandler.java
(from r1162870, cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/client/AsyncAlarmHandler.java)
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/client/AsyncAlarmHandler.java?p2=cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/client/AsyncAlarmHandler.java&p1=cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/client/AsyncAlarmHandler.java&r1=1162870&r2=1162894&rev=1162894&view=diff
==============================================================================
    (empty)

Propchange: cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/client/AsyncAlarmHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/client/AsyncAlarmHandler.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Copied: cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/client/Client.java
(from r1162870, cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/client/Client.java)
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/client/Client.java?p2=cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/client/Client.java&p1=cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/client/Client.java&r1=1162870&r2=1162894&rev=1162894&view=diff
==============================================================================
    (empty)

Propchange: cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/client/Client.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/client/Client.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Copied: cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/server/AlarmRetrievalImpl.java
(from r1162870, cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/server/AlarmRetrievalImpl.java)
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/server/AlarmRetrievalImpl.java?p2=cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/server/AlarmRetrievalImpl.java&p1=cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/server/AlarmRetrievalImpl.java&r1=1162870&r2=1162894&rev=1162894&view=diff
==============================================================================
    (empty)

Propchange: cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/server/AlarmRetrievalImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/server/AlarmRetrievalImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Copied: cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/server/Server.java
(from r1162870, cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/server/Server.java)
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/server/Server.java?p2=cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/server/Server.java&p1=cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/demo/server/Server.java&r1=1162870&r2=1162894&rev=1162894&view=diff
==============================================================================
    (empty)

Propchange: cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/server/Server.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/distribution/src/main/release/samples/mtosi_1.1/alarm_retrieval/src/org/apache/cxf/alarm_retrieval/server/Server.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date



Mime
View raw message