forked from UnquietCode/Flapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ removes runtime dependencies for examples (regenerated builders) + fixes a test error + improves email example with new syntax
- Loading branch information
1 parent
d6d6f4e
commit e0a0e5c
Showing
90 changed files
with
805 additions
and
770 deletions.
There are no files selected for viewing
35 changes: 0 additions & 35 deletions
35
src/main/java/unquietcode/tools/flapi/MinimumInvocationsException.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
2 changes: 1 addition & 1 deletion
2
src/test/java/unquietcode/tools/flapi/examples/calculator/CalculationHelperImpl.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
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
2 changes: 1 addition & 1 deletion
2
src/test/java/unquietcode/tools/flapi/examples/calculator/CalculatorHelperImpl.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
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
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
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
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
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
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
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
45 changes: 45 additions & 0 deletions
45
src/test/java/unquietcode/tools/flapi/examples/calculator/builder/ObjectWrapper.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,45 @@ | ||
|
||
package unquietcode.tools.flapi.examples.calculator.builder; | ||
|
||
|
||
|
||
/** | ||
* This class was generated using Flapi, the fluent API generator for Java. | ||
* Modifications to this file will be lost upon regeneration. | ||
* You have been warned! | ||
* | ||
* Visit http://www.unquietcode.com/flapi for more information. | ||
* | ||
* | ||
* Generated on May 28, 2012 10:12:35 CDT using version 0.2 | ||
* | ||
*/ | ||
public class ObjectWrapper<_Type >{ | ||
|
||
private _Type _value; | ||
|
||
public ObjectWrapper() { | ||
} | ||
|
||
public ObjectWrapper(_Type value) { | ||
_value = value; | ||
} | ||
|
||
public void set(_Type value) { | ||
_value = value; | ||
} | ||
|
||
public _Type get() { | ||
return _value; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
if (_value == null) { | ||
return null; | ||
} else { | ||
return _value.toString(); | ||
} | ||
} | ||
|
||
} |
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
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
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
Oops, something went wrong.