java/code

Jan Pazdziora adelton at fedoraproject.org
Wed Jun 27 08:03:58 UTC 2012


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

New commits:
commit 66e6b61700ed338e5f7c849a0d4231af2de8601f
Author: Jan Pazdziora <jpazdziora at redhat.com>
Date:   Wed Jun 27 10:03:33 2012 +0200

    Fixing checkstyle.
    
    Addressing
    /builddir/build/BUILD/spacewalk-java-1.8.100/./code/src/com/redhat/rhn/manager/errata/AsyncErrataCloneCounter.java:2: Line does not match expected header line of '^ \* Copyright \(c\) (20(0\d|1[01])--)?201[012] (Red Hat, Inc.|Novell)$'.
    /builddir/build/BUILD/spacewalk-java-1.8.100/./code/src/com/redhat/rhn/manager/errata/AsyncErrataCloneCounter.java:18: Missing a Javadoc comment.

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 2903204..ed76ada 100644
--- a/java/code/src/com/redhat/rhn/manager/errata/AsyncErrataCloneCounter.java
+++ b/java/code/src/com/redhat/rhn/manager/errata/AsyncErrataCloneCounter.java
@@ -1,4 +1,23 @@
 /**
+ * Copyright (c) 2012 Red Hat, Inc.
+ *
+ * This software is licensed to you under the GNU General Public License,
+ * version 2 (GPLv2). There is NO WARRANTY for this software, express or
+ * implied, including the implied warranties of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2
+ * along with this software; if not, see
+ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
+ *
+ * Red Hat trademarks are not licensed under GPLv2. No permission is
+ * granted to use or replicate Red Hat trademarks that are incorporated
+ * in this software or its documentation.
+ */
+
+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
  * background, a database deadlock will occur. There is no way to
@@ -11,10 +30,6 @@
  * @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