Skip to content

Commit dca8333

Browse files
committed
#380 Deprecating Registry. initialized()
1 parent 7e3709d commit dca8333

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

activejdbc/src/main/java/org/javalite/activejdbc/Registry.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,13 @@ private Registry() {
5656
: null;
5757
}
5858

59+
/**
60+
* @deprecated Not used anymore.
61+
*/
62+
@Deprecated
5963
public boolean initialized() {
64+
// This will return true if AT LEAST ONE DB was initialized, not if ALL were (if there are more than one).
65+
// Hopefully this is not used anywhere.
6066
return !initedDbs.isEmpty();
6167
}
6268

0 commit comments

Comments
 (0)