ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <>
Subject [jira] [Updated] (AXIOM-486) AxiomTestVerb should not extend TestVerb
Date Sun, 25 Sep 2016 22:52:21 GMT


Andreas Veithen updated AXIOM-486:
    Priority: Minor  (was: Critical)

> AxiomTestVerb should not extend TestVerb
> ----------------------------------------
>                 Key: AXIOM-486
>                 URL:
>             Project: Axiom
>          Issue Type: Improvement
>    Affects Versions: 1.2.19
>            Reporter: Christian Gruber
>            Priority: Minor
> AxiomTestVerb currently extends TestVerb, presumably to permit someone to only have to
statically import AxiomTestVerb.assertThat; However, TestVerb was not built for extension,
will be marked final in more upcoming versions of Truth, especially 1.0.
> The fix is simple.  Extend AbstractVerb if (and only if) you need its functionality,
and otherwise simply statically import both AxiomTestVerb.assertThat and Truth.assertThat
since the overloads are not ambiguous in their type signatures (and erasure). 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message