You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by si...@apache.org on 2012/10/16 13:24:01 UTC

svn commit: r1398739 - in /river/jtsk/trunk/src/org/apache/river: common/ common/Beta.java config/LocalHostLookup.java

Author: sijskes
Date: Tue Oct 16 11:24:01 2012
New Revision: 1398739

URL: http://svn.apache.org/viewvc?rev=1398739&view=rev
Log: (empty)

Added:
    river/jtsk/trunk/src/org/apache/river/common/
    river/jtsk/trunk/src/org/apache/river/common/Beta.java
Modified:
    river/jtsk/trunk/src/org/apache/river/config/LocalHostLookup.java

Added: river/jtsk/trunk/src/org/apache/river/common/Beta.java
URL: http://svn.apache.org/viewvc/river/jtsk/trunk/src/org/apache/river/common/Beta.java?rev=1398739&view=auto
==============================================================================
--- river/jtsk/trunk/src/org/apache/river/common/Beta.java (added)
+++ river/jtsk/trunk/src/org/apache/river/common/Beta.java Tue Oct 16 11:24:01 2012
@@ -0,0 +1,39 @@
+/*
+ *  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.river.common;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation to indicate the annotated element is subject to change
+ * in behaviour, definition, removal.
+ */
+@Retention(RetentionPolicy.SOURCE)
+@Target({
+    ElementType.ANNOTATION_TYPE,
+    ElementType.CONSTRUCTOR,
+    ElementType.FIELD,
+    ElementType.METHOD,
+    ElementType.TYPE})
+@Documented
+public @interface Beta {
+}

Modified: river/jtsk/trunk/src/org/apache/river/config/LocalHostLookup.java
URL: http://svn.apache.org/viewvc/river/jtsk/trunk/src/org/apache/river/config/LocalHostLookup.java?rev=1398739&r1=1398738&r2=1398739&view=diff
==============================================================================
--- river/jtsk/trunk/src/org/apache/river/config/LocalHostLookup.java (original)
+++ river/jtsk/trunk/src/org/apache/river/config/LocalHostLookup.java Tue Oct 16 11:24:01 2012
@@ -21,9 +21,11 @@ package org.apache.river.config;
 import java.net.InetAddress;
 import java.net.UnknownHostException;
 import java.util.logging.Logger;
+import org.apache.river.common.Beta;
 
 /**
  */
+@Beta
 public class LocalHostLookup
 {
     private final static Logger logger = Logger.getLogger(LocalHostLookup.class.getName());