Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made some methods/fields protected ... #620

Merged
merged 1 commit into from
Dec 3, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public class ERXModelGroup extends EOModelGroup {

protected NSArray<String> _modelLoadOrder = ERXProperties.componentsSeparatedByStringWithDefault("er.extensions.ERXModelGroup.modelLoadOrder", ",", NSArray.EmptyArray);

private boolean raiseOnUnmatchingConnectionDictionaries = ERXProperties.booleanForKeyWithDefault("er.extensions.ERXModelGroup.raiseOnUnmatchingConnectionDictionaries", true);
protected boolean raiseOnUnmatchingConnectionDictionaries = ERXProperties.booleanForKeyWithDefault("er.extensions.ERXModelGroup.raiseOnUnmatchingConnectionDictionaries", true);

/**
* Notification that is sent when the model group was created form the bundle loading.
Expand Down Expand Up @@ -652,7 +652,7 @@ public void modelAddedHandler(NSNotification n) {
resetConnectionDictionaryInModel(model);
}

private static String getProperty(String key, String alternateKey, String defaultValue) {
protected static String getProperty(String key, String alternateKey, String defaultValue) {
String value = ERXProperties.stringForKey(key);
if (value == null) {
value = ERXProperties.stringForKey(alternateKey);
Expand All @@ -663,11 +663,11 @@ private static String getProperty(String key, String alternateKey, String defaul
return value;
}

private static String getProperty(String key, String alternateKey) {
protected static String getProperty(String key, String alternateKey) {
return getProperty(key, alternateKey, null);
}

private static String decryptProperty(String key, String alternateKey) {
protected static String decryptProperty(String key, String alternateKey) {
String value = ERXProperties.decryptedStringForKey(key);
if (value == null) {
value = ERXProperties.decryptedStringForKey(alternateKey);
Expand Down