You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2018/04/25 09:57:13 UTC

[4/6] jena git commit: JEA-1524: rename JenaInit as JenaSystem

JEA-1524: rename JenaInit as JenaSystem


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

Branch: refs/heads/master
Commit: 5349af1ad9c76bac74a8d50cc0e39df032055d55
Parents: 6a30cdc
Author: Andy Seaborne <an...@apache.org>
Authored: Wed Apr 25 09:34:16 2018 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Wed Apr 25 09:34:16 2018 +0100

----------------------------------------------------------------------
 .../java/org/apache/jena/system/JenaInit.java   | 40 ------------------
 .../java/org/apache/jena/system/JenaSystem.java | 43 ++++++++++++++++++++
 2 files changed, 43 insertions(+), 40 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/5349af1a/jena-arq/src/main/java/org/apache/jena/system/JenaInit.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/system/JenaInit.java b/jena-arq/src/main/java/org/apache/jena/system/JenaInit.java
deleted file mode 100644
index b159be1..0000000
--- a/jena-arq/src/main/java/org/apache/jena/system/JenaInit.java
+++ /dev/null
@@ -1,40 +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.jena.system;
-
-import org.apache.jena.sys.JenaSystem;
-
-/**
- * This is a temporary adapter for implementations to transition to [JENA-1524]
- */
-public class JenaInit {
-
-    /**
-     * Initialize Jena.
-     */
-    public static void init() {
-        JenaSystem.init();
-    }
-
-    /** Shutdown subsystems */
-    public static void shutdown() {
-        JenaSystem.shutdown();
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/jena/blob/5349af1a/jena-arq/src/main/java/org/apache/jena/system/JenaSystem.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/system/JenaSystem.java b/jena-arq/src/main/java/org/apache/jena/system/JenaSystem.java
new file mode 100644
index 0000000..0b230fe
--- /dev/null
+++ b/jena-arq/src/main/java/org/apache/jena/system/JenaSystem.java
@@ -0,0 +1,43 @@
+/**
+ * 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.jena.system;
+
+/**
+ * This is a temporary adapter for implementations to transition to [JENA-1524]
+ */
+@Deprecated
+public class JenaSystem {
+
+    /**
+     * Initialize Jena.
+     * @deprecated Use {@link org.apache.jena.sys.JenaSystem#init()}
+     */
+    @Deprecated
+    public static void init() {
+        org.apache.jena.sys.JenaSystem.init();
+    }
+
+    /** Shutdown subsystems
+     * @deprecated Use {@link org.apache.jena.sys.JenaSystem#shutdown()}
+     */
+    @Deprecated
+    public static void shutdown() {
+        org.apache.jena.sys.JenaSystem.shutdown();
+    }
+}