You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metron.apache.org by ni...@apache.org on 2016/10/07 16:32:27 UTC

incubator-metron git commit: METRON-459 Bad file location for org.apache.metron.spout.pcap.Endianness.java (danieljue via nickwallen) closes apache/incubator-metron#275

Repository: incubator-metron
Updated Branches:
  refs/heads/master 2f579a95b -> d62738a27


METRON-459 Bad file location for org.apache.metron.spout.pcap.Endianness.java (danieljue via nickwallen) closes apache/incubator-metron#275


Project: http://git-wip-us.apache.org/repos/asf/incubator-metron/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-metron/commit/d62738a2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-metron/tree/d62738a2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-metron/diff/d62738a2

Branch: refs/heads/master
Commit: d62738a271e9e4da30c91973502b9f3850ac914d
Parents: 2f579a9
Author: danieljue <dj...@phy.net>
Authored: Fri Oct 7 12:31:37 2016 -0400
Committer: Nick Allen <ni...@nickallen.org>
Committed: Fri Oct 7 12:31:37 2016 -0400

----------------------------------------------------------------------
 .../java/org/apache/metron/pcap/Endianness.java | 33 --------------------
 .../apache/metron/spout/pcap/Endianness.java    | 33 ++++++++++++++++++++
 2 files changed, 33 insertions(+), 33 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/d62738a2/metron-platform/metron-pcap/src/main/java/org/apache/metron/pcap/Endianness.java
----------------------------------------------------------------------
diff --git a/metron-platform/metron-pcap/src/main/java/org/apache/metron/pcap/Endianness.java b/metron-platform/metron-pcap/src/main/java/org/apache/metron/pcap/Endianness.java
deleted file mode 100644
index 4a6de4d..0000000
--- a/metron-platform/metron-pcap/src/main/java/org/apache/metron/pcap/Endianness.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.metron.spout.pcap;
-
-import java.nio.ByteOrder;
-
-public enum Endianness {
-  LITTLE, BIG;
-
-  public static Endianness getNativeEndianness() {
-    if (ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN)) {
-      return BIG;
-    } else {
-      return LITTLE;
-    }
-  }
-}

http://git-wip-us.apache.org/repos/asf/incubator-metron/blob/d62738a2/metron-platform/metron-pcap/src/main/java/org/apache/metron/spout/pcap/Endianness.java
----------------------------------------------------------------------
diff --git a/metron-platform/metron-pcap/src/main/java/org/apache/metron/spout/pcap/Endianness.java b/metron-platform/metron-pcap/src/main/java/org/apache/metron/spout/pcap/Endianness.java
new file mode 100644
index 0000000..4a6de4d
--- /dev/null
+++ b/metron-platform/metron-pcap/src/main/java/org/apache/metron/spout/pcap/Endianness.java
@@ -0,0 +1,33 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.metron.spout.pcap;
+
+import java.nio.ByteOrder;
+
+public enum Endianness {
+  LITTLE, BIG;
+
+  public static Endianness getNativeEndianness() {
+    if (ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN)) {
+      return BIG;
+    } else {
+      return LITTLE;
+    }
+  }
+}