java/code

Jan Pazdziora adelton at fedoraproject.org
Wed Jun 27 07:16:30 UTC 2012


 java/code/src/com/redhat/rhn/manager/errata/AsyncErrataCloneCounter.java |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit a2e34bb8ce47d36060c8e6010acf797bb02814b6
Author: Jan Pazdziora <jpazdziora at redhat.com>
Date:   Wed Jun 27 09:15:57 2012 +0200

    Fixing checkstyle.
    
    Addressing
    /builddir/build/BUILD/spacewalk-java-1.8.99/./code/src/com/redhat/rhn/manager/errata/AsyncErrataCloneCounter.java:1: Line does not match expected header line of '^/\*\*$'.
    /builddir/build/BUILD/spacewalk-java-1.8.99/./code/src/com/redhat/rhn/manager/errata/AsyncErrataCloneCounter.java:14: Line has trailing spaces.

diff --git a/java/code/src/com/redhat/rhn/manager/errata/AsyncErrataCloneCounter.java b/java/code/src/com/redhat/rhn/manager/errata/AsyncErrataCloneCounter.java
index ed3d528..2903204 100644
--- a/java/code/src/com/redhat/rhn/manager/errata/AsyncErrataCloneCounter.java
+++ b/java/code/src/com/redhat/rhn/manager/errata/AsyncErrataCloneCounter.java
@@ -1,7 +1,3 @@
-package com.redhat.rhn.manager.errata;
-
-import java.util.Hashtable;
-
 /**
  * If someone attempts to schedule a synchronous errata clone into a
  * channel that has asynchronous errata clones taking place in the
@@ -11,10 +7,14 @@ import java.util.Hashtable;
  * residing in tomcat memory only, so the counter should not be
  * persistent. That is why I implemented the counter as a singeton
  * class instead of a database table or some other such implementation.
- * 
+ *
  * @author Stephen Herr <sherr at redhat.com>
  *
  */
+package com.redhat.rhn.manager.errata;
+
+import java.util.Hashtable;
+
 public class AsyncErrataCloneCounter {
     // hashtable is syncronized, so is threadsafe
     private final Hashtable<Long, Integer> count;




More information about the spacewalk-commits mailing list