Thomas Han
Not a member
Thomas Han's latest activity
Wednesday, May 18 2011
-
Thomas Han commented at 11:29 AMThere are other scenarios where private constructors are valid.
Private constructors might be used by static factory methods.
Ideally you would want to centrali...
25
Precondition (@Requires) should be checked before the method, closure is invoked
was created
in gcontracts-core
-
Thomas Han created the ticket at 9:47 AMThe converse is true for the post conditions (@Ensures).
The check should be after the the method, closure invocation.class G {
String g}
class H {
@Requir...
23
A circular call is detected when there isn't.
was updated
in gcontracts-core
Monday, May 16 2011
24
Invariant not obeyed for private constructor
was created
in gcontracts-core
-
Thomas Han created the ticket at 10:16 AM@Invariant({
g != null}) class G {
String g private G(String g) { this.g = g } static G of(String g) { return new G(g) }}
If we construct the G ...
Saturday, May 14 2011
23
A circular call is detected when there isn't.
was updated
in gcontracts-core
-
Thomas Han commented at 1:06 PM@Invariant({
g}) class G {
String g = "g" /** * @see java.lang.Object#toString() */ @Override String toString() { return g }}
@Invariant({
g}) c...
-
Thomas Han created the ticket at 1:04 PM
Friday, May 06 2011
22
Support for private contructor
was created
in gcontracts-core
-
Thomas Han created the ticket at 3:54 PMThis should really be a duplicate of http://gcontracts.lighthouseapp.com/projects/71511/tickets/11-suppo...
but just to make sure it is covered off. :)