Update of /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/impl/mock
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv24987/input/javasrc/biz/xsoftware/impl/mock
Modified Files:
MockObjectImpl.java
Log Message:
- Adding Apache License header
- Small bit of code cleanup
Index: MockObjectImpl.java
===================================================================
RCS file: /cvsroot/mocklib/mocklib3/input/javasrc/biz/xsoftware/impl/mock/MockObjectImpl.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** MockObjectImpl.java 23 May 2008 19:06:00 -0000 1.4
--- MockObjectImpl.java 11 Feb 2009 18:32:00 -0000 1.5
***************
*** 1,2 ****
--- 1,16 ----
+ /*
+ * Copyright 2009 mocklib.sourceforge.net
+ *
+ * Licensed 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 biz.xsoftware.impl.mock;
***************
*** 27,33 ****
Logger.getLogger(MockObjectImpl.class.getName());
! private static Set<Method> isMethodInSuper = new HashSet<Method>();
! private static Map<Type, Class<?>> primitiveToClass =
new HashMap<Type, Class<?>>();
--- 41,47 ----
Logger.getLogger(MockObjectImpl.class.getName());
! private static final Set<Method> isMethodInSuper = new HashSet<Method>();
! private static final Map<Type, Class<?>> primitiveToClass =
new HashMap<Type, Class<?>>();
***************
*** 210,218 ****
return result;
}
-
- public Object inst() {
- // TODO Auto-generated method stub
- return null;
- }
-
}
--- 224,226 ----
|