jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject [17/44] jena git commit: Correcting whitespace
Date Sat, 06 Jan 2018 15:17:41 GMT
Correcting whitespace


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/0a7d5b38
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/0a7d5b38
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/0a7d5b38

Branch: refs/heads/master
Commit: 0a7d5b38a0d26b2817f7fae8164f63f1cc79ab0a
Parents: 29dc64f
Author: ajs6f <ajs6f@apache.org>
Authored: Sun Nov 5 09:13:32 2017 -0500
Committer: ajs6f <ajs6f@apache.org>
Committed: Fri Jan 5 09:26:07 2018 -0500

----------------------------------------------------------------------
 .../jena/query/util/DatasetCollector.java       |  8 ++---
 .../java/org/apache/jena/atlas/lib/Pair.java    | 32 ++++++++++----------
 2 files changed, 20 insertions(+), 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/0a7d5b38/jena-arq/src/main/java/org/apache/jena/query/util/DatasetCollector.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/query/util/DatasetCollector.java b/jena-arq/src/main/java/org/apache/jena/query/util/DatasetCollector.java
index cda5ef9..c259785 100644
--- a/jena-arq/src/main/java/org/apache/jena/query/util/DatasetCollector.java
+++ b/jena-arq/src/main/java/org/apache/jena/query/util/DatasetCollector.java
@@ -19,8 +19,8 @@ public interface DatasetCollector<Input> extends IdentityFinishCollector<Input,
     default BinaryOperator<Dataset> combiner() {
         return DatasetCollector::union;
     }
-    
-	static Dataset union(final Dataset d1, final Dataset d2) {
-		return DatasetLib.union(d1, d2, Context.emptyContext);
-	}
+
+    static Dataset union(final Dataset d1, final Dataset d2) {
+        return DatasetLib.union(d1, d2, Context.emptyContext);
+    }
 }

http://git-wip-us.apache.org/repos/asf/jena/blob/0a7d5b38/jena-base/src/main/java/org/apache/jena/atlas/lib/Pair.java
----------------------------------------------------------------------
diff --git a/jena-base/src/main/java/org/apache/jena/atlas/lib/Pair.java b/jena-base/src/main/java/org/apache/jena/atlas/lib/Pair.java
index 855495a..0e17e3b 100644
--- a/jena-base/src/main/java/org/apache/jena/atlas/lib/Pair.java
+++ b/jena-base/src/main/java/org/apache/jena/atlas/lib/Pair.java
@@ -39,25 +39,25 @@ public class Pair<A, B>
     public A car() { return a ; }
     public B cdr() { return b ; }
     
-	public static class OfSameType<T> extends Pair<T, T> {
+    public static class OfSameType<T> extends Pair<T, T> {
 
-		public OfSameType(T a, T b) {
-			super(a, b);
-		}
+        public OfSameType(T a, T b) {
+            super(a, b);
+        }
 
-		public void forEach(Consumer<T> op) {
-			op.accept(a);
-			op.accept(b);
-		}
-		
-		public boolean both(Function<T, Boolean> op) {
-	        return op.apply(a) && op.apply(b);
-	    }
+        public void forEach(Consumer<T> op) {
+            op.accept(a);
+            op.accept(b);
+        }
 
-		public boolean either(Function<T, Boolean> op) {
-	        return op.apply(a) || op.apply(b);
-	    }
-	}
+        public boolean both(Function<T, Boolean> op) {
+            return op.apply(a) && op.apply(b);
+        }
+
+        public boolean either(Function<T, Boolean> op) {
+            return op.apply(a) || op.apply(b);
+        }
+    }
     
     @Override
     public int hashCode()


Mime
View raw message