git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Jpa merge support is now available.
[utils]
/
support
/
general
/
src
/
test
/
java
/
org
/
wamblee
/
general
/
TestBeanFactory.java
diff --git
a/support/general/src/test/java/org/wamblee/general/TestBeanFactory.java
b/support/general/src/test/java/org/wamblee/general/TestBeanFactory.java
index 6198e9ba2d4a9644ab381f00def91af9de611d8b..5c22caf19174ea8c601a6b867e51cbd6ca437083 100644
(file)
--- a/
support/general/src/test/java/org/wamblee/general/TestBeanFactory.java
+++ b/
support/general/src/test/java/org/wamblee/general/TestBeanFactory.java
@@
-1,5
+1,5
@@
/*
/*
- * Copyright 200
7
the original author or authors.
+ * Copyright 200
5-2010
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-16,23
+16,22
@@
package org.wamblee.general;
public class TestBeanFactory implements BeanFactory {
package org.wamblee.general;
public class TestBeanFactory implements BeanFactory {
+ @Override
+ public Object find(String aId) {
+ return null;
+ }
- @Override
- public Object find(String aId) {
- return null;
- }
+ @Override
+ public <T> T find(Class<T> aClass) {
+ if (aClass.equals(String.class)) {
+ return (T) "hello";
+ }
- @Override
- public <T> T find(Class<T> aClass) {
- if ( aClass.equals(String.class)) {
- return (T)"hello";
- }
- return null;
- }
-
- @Override
- public <T> T find(String aId, Class<T> aClass) {
- return null;
- }
+ return null;
+ }
+ @Override
+ public <T> T find(String aId, Class<T> aClass) {
+ return null;
+ }
}
}