You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@johnzon.apache.org by sa...@apache.org on 2015/04/21 21:47:36 UTC

incubator-johnzon git commit: move @Experimental from mapper to core

Repository: incubator-johnzon
Updated Branches:
  refs/heads/master 49b000424 -> 307826135


move @Experimental from mapper to core


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

Branch: refs/heads/master
Commit: 307826135fc444a8ebcb68dd1214e2f611892c34
Parents: 49b0004
Author: Hendrik Saly <he...@gmail.com>
Authored: Tue Apr 21 21:47:32 2015 +0200
Committer: Hendrik Saly <he...@gmail.com>
Committed: Tue Apr 21 21:47:32 2015 +0200

----------------------------------------------------------------------
 .../org/apache/johnzon/core/Experimental.java   | 33 ++++++++++++++++++++
 .../org/apache/johnzon/mapper/Experimental.java | 33 --------------------
 .../johnzon/mapper/JohnzonVirtualObject.java    |  2 ++
 3 files changed, 35 insertions(+), 33 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-johnzon/blob/30782613/johnzon-core/src/main/java/org/apache/johnzon/core/Experimental.java
----------------------------------------------------------------------
diff --git a/johnzon-core/src/main/java/org/apache/johnzon/core/Experimental.java b/johnzon-core/src/main/java/org/apache/johnzon/core/Experimental.java
new file mode 100644
index 0000000..b645c99
--- /dev/null
+++ b/johnzon-core/src/main/java/org/apache/johnzon/core/Experimental.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.johnzon.core;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+import static java.lang.annotation.ElementType.TYPE;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+/**
+ * Marker for experimental API.
+ */
+@Target(TYPE)
+@Retention(RUNTIME)
+public @interface Experimental {
+}

http://git-wip-us.apache.org/repos/asf/incubator-johnzon/blob/30782613/johnzon-mapper/src/main/java/org/apache/johnzon/mapper/Experimental.java
----------------------------------------------------------------------
diff --git a/johnzon-mapper/src/main/java/org/apache/johnzon/mapper/Experimental.java b/johnzon-mapper/src/main/java/org/apache/johnzon/mapper/Experimental.java
deleted file mode 100644
index ba7fe01..0000000
--- a/johnzon-mapper/src/main/java/org/apache/johnzon/mapper/Experimental.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.johnzon.mapper;
-
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-/**
- * Marker for experimental API.
- */
-@Target(TYPE)
-@Retention(RUNTIME)
-public @interface Experimental {
-}

http://git-wip-us.apache.org/repos/asf/incubator-johnzon/blob/30782613/johnzon-mapper/src/main/java/org/apache/johnzon/mapper/JohnzonVirtualObject.java
----------------------------------------------------------------------
diff --git a/johnzon-mapper/src/main/java/org/apache/johnzon/mapper/JohnzonVirtualObject.java b/johnzon-mapper/src/main/java/org/apache/johnzon/mapper/JohnzonVirtualObject.java
index cc256fd..6cd1aae 100644
--- a/johnzon-mapper/src/main/java/org/apache/johnzon/mapper/JohnzonVirtualObject.java
+++ b/johnzon-mapper/src/main/java/org/apache/johnzon/mapper/JohnzonVirtualObject.java
@@ -22,6 +22,8 @@ import java.lang.annotation.Inherited;
 import java.lang.annotation.Retention;
 import java.lang.annotation.Target;
 
+import org.apache.johnzon.core.Experimental;
+
 import static java.lang.annotation.ElementType.TYPE;
 import static java.lang.annotation.RetentionPolicy.RUNTIME;