Permalink
Browse files

some code cleanup and removed user specific stuff from idea settings

  • Loading branch information...
1 parent 789460b commit 9ea69117cd968b59cf7c9656a7dac06b6a8fc819 kosch committed with maniksurtani Jun 13, 2012
View
4 core/src/main/java/org/infinispan/configuration/cache/L1ConfigurationBuilder.java
@@ -157,10 +157,10 @@ void validate() {
L1Configuration create() {
boolean finalOnRehash;
if (onRehash != null) {
- finalOnRehash = onRehash.booleanValue();
+ finalOnRehash = onRehash;
} else {
finalOnRehash = false;
- if (enabled && onRehash == null) {
+ if (enabled) {
log.debug("L1 is enabled and L1OnRehash was not defined, enabling it");
finalOnRehash = true;
}
View
12 core/src/main/java/org/infinispan/util/FileLookup.java
@@ -25,24 +25,24 @@
public interface FileLookup {
/**
- * Looks up the file, see : {@link DefaultFileLookup}.
+ * Looks up the file, see : {@link FileLookupFactory.DefaultFileLookup}.
*
* @param filename might be the name of the file (too look it up in the class path) or an url to a file.
* @return an input stream to the file or null if nothing found through all lookup steps.
*/
- public InputStream lookupFile(String filename, ClassLoader cl);
+ InputStream lookupFile(String filename, ClassLoader cl);
/**
- * Looks up the file, see : {@link DefaultFileLookup}.
+ * Looks up the file, see : {@link FileLookupFactory.DefaultFileLookup}.
*
* @param filename might be the name of the file (too look it up in the class path) or an url to a file.
* @return an input stream to the file or null if nothing found through all lookup steps.
* @throws FileNotFoundException if file cannot be found
*/
- public InputStream lookupFileStrict(String filename, ClassLoader cl) throws FileNotFoundException;
+ InputStream lookupFileStrict(String filename, ClassLoader cl) throws FileNotFoundException;
- public URL lookupFileLocation(String filename, ClassLoader cl);
+ URL lookupFileLocation(String filename, ClassLoader cl);
- public Collection<URL> lookupFileLocations(String filename, ClassLoader cl) throws IOException;
+ Collection<URL> lookupFileLocations(String filename, ClassLoader cl) throws IOException;
}
View
BIN ide-settings/intellij/IntelliJ_IDEA_Code_Style.jar
Binary file not shown.

0 comments on commit 9ea6911

Please sign in to comment.