geronimo-xbean-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1487758 - /geronimo/xbean/trunk/xbean-finder/src/test/java/org/acme/NotAnnotated.java
Date Thu, 30 May 2013 06:17:55 GMT
Author: struberg
Date: Thu May 30 06:17:55 2013
New Revision: 1487758

URL: http://svn.apache.org/r1487758
Log:
rewrite trivial test class as David is travelling and cannot fix the license header right
now

Modified:
    geronimo/xbean/trunk/xbean-finder/src/test/java/org/acme/NotAnnotated.java

Modified: geronimo/xbean/trunk/xbean-finder/src/test/java/org/acme/NotAnnotated.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-finder/src/test/java/org/acme/NotAnnotated.java?rev=1487758&r1=1487757&r2=1487758&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-finder/src/test/java/org/acme/NotAnnotated.java (original)
+++ geronimo/xbean/trunk/xbean-finder/src/test/java/org/acme/NotAnnotated.java Thu May 30
06:17:55 2013
@@ -1,22 +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
  *
- * Copyright (c) 2011 David Blevins.  All rights reserved.
+ *      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.acme;
 
 public class NotAnnotated {
 
-    private String green;
+    private String name;
 
-    private String red;
+    private int age;
 
     public NotAnnotated() {}
 
-    public NotAnnotated(String red) {}
-
-    public void green() {}
-
-    public void red() {}
+    public NotAnnotated(String name, int age) {
+        this.name = name;
+        this.age = age;
+    }
+
+    public String name() {
+        return name;
+    }
+
+    public int getAge() {
+        return age;
+    }
 }



Mime
View raw message