-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance optimizations (most notably injectfields).
Number of iterations increased in startup comparison test
- Loading branch information
1 parent
06c7143
commit 1eb2ccc
Showing
6 changed files
with
194 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
feather/src/main/java/org/codejargon/feather/FeatherException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package org.codejargon.feather; | ||
|
||
public class FeatherException extends RuntimeException { | ||
public FeatherException(String message) { | ||
FeatherException(String message) { | ||
super(message); | ||
} | ||
|
||
public FeatherException(String message, Throwable cause) { | ||
FeatherException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
feather/src/main/java/org/codejargon/feather/InjectField.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.codejargon.feather; | ||
|
||
import java.lang.reflect.Field; | ||
|
||
class InjectField { | ||
final Field field; | ||
final boolean providerType; | ||
final Key key; | ||
|
||
InjectField(Field field, boolean providerType, Key key) { | ||
this.field = field; | ||
this.providerType = providerType; | ||
this.key = key; | ||
} | ||
} |
Oops, something went wrong.