commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r786972 - in /commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime: exception/ClosedDescriptorException.java exception/NoSuchObjectException.java io/FileProtection.java util/Syslog.java util/UUID.java
Date Sun, 21 Jun 2009 09:46:58 GMT
Author: mturk
Date: Sun Jun 21 09:46:58 2009
New Revision: 786972

URL: http://svn.apache.org/viewvc?rev=786972&view=rev
Log:
Tab police

Modified:
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/exception/ClosedDescriptorException.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/exception/NoSuchObjectException.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileProtection.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Syslog.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/UUID.java

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/exception/ClosedDescriptorException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/exception/ClosedDescriptorException.java?rev=786972&r1=786971&r2=786972&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/exception/ClosedDescriptorException.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/exception/ClosedDescriptorException.java
Sun Jun 21 09:46:58 2009
@@ -17,7 +17,7 @@
 package org.apache.commons.runtime.exception;
 import java.io.IOException;
 
-/** 
+/**
  * ClosedDescriptorException thrown when an attempt is made to
  * invoke an operation on closed {@code Descriptor}.
  *

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/exception/NoSuchObjectException.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/exception/NoSuchObjectException.java?rev=786972&r1=786971&r2=786972&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/exception/NoSuchObjectException.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/exception/NoSuchObjectException.java
Sun Jun 21 09:46:58 2009
@@ -16,7 +16,7 @@
 
 package org.apache.commons.runtime.exception;
 
-/** 
+/**
  * NoSuchObjectException thrown when an attempt is made to
  * invoke an operation on unexisting operating system {@code object}.
  * This class mimics the os {@code ENOENT} error.

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileProtection.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileProtection.java?rev=786972&r1=786971&r2=786972&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileProtection.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/FileProtection.java
Sun Jun 21 09:46:58 2009
@@ -107,10 +107,10 @@
     public static EnumSet<FileProtection> modeOf(int mode)
     {
         EnumSet<FileProtection> set = EnumSet.noneOf(FileProtection.class);
-		int value = (mode & 0x07) +
- 					(((mode >> 3) & 0x07) << 4) +
- 					(((mode >> 6) & 0x07) << 8) +
- 					(((mode >> 9) & 0x07) << 12);
+        int value = (mode & 0x07) +
+                     (((mode >> 3) & 0x07) << 4) +
+                     (((mode >> 6) & 0x07) << 8) +
+                     (((mode >> 9) & 0x07) << 12);
         for (FileProtection e : values()) {
             if ((e.value & value) == e.value)
                 set.add(e);

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Syslog.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Syslog.java?rev=786972&r1=786971&r2=786972&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Syslog.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/Syslog.java
Sun Jun 21 09:46:58 2009
@@ -24,7 +24,7 @@
  *
  * @since Runtime 1.0
  */
-public class Syslog implements Closeable 
+public class Syslog implements Closeable
 {
     private static native void      init0();
     private static native void      init1(String domain);

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/UUID.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/UUID.java?rev=786972&r1=786971&r2=786972&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/UUID.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/util/UUID.java
Sun Jun 21 09:46:58 2009
@@ -40,7 +40,7 @@
         String h = Integer.toHexString(val);
         if (h.length() == 1)
             h = "0" + h;
-        return h.substring(h.length() - 2);        
+        return h.substring(h.length() - 2);
     }
 
     public String toString()



Mime
View raw message