reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Chung (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (REEF-1046) Fix typos in TestConfigurationBuilder and fill all TODO package-info in Tang
Date Mon, 07 Dec 2015 18:18:10 GMT

     [ https://issues.apache.org/jira/browse/REEF-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Chung resolved REEF-1046.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 0.14

> Fix typos in TestConfigurationBuilder and fill all TODO package-info in Tang
> ----------------------------------------------------------------------------
>
>                 Key: REEF-1046
>                 URL: https://issues.apache.org/jira/browse/REEF-1046
>             Project: REEF
>          Issue Type: Bug
>          Components: Tang
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Minor
>             Fix For: 0.14
>
>
> This issue fixes the typos in `TestConfigurationBuilder.java` and fill all remaining
TODO package-info in `Tang` module.
> {code:title=TestConfigurationBuilder.java|borderStyle=solid}
> -  public void nullStringVaueTest() {
> +  public void nullStringValueTest() {
>      thrown.expect(IllegalStateException.class);
>      thrown.expectMessage("The value null set to the named parameter is illegal: class
" +
> -        "org.apache.reef.tang.implementation.java.TestConfigurationBuilder$NamedParamterNoDefault$NamedString");
> +        "org.apache.reef.tang.implementation.java.TestConfigurationBuilder$NamedParameterNoDefault$NamedString");
>  
>      Tang.Factory.getTang().newConfigurationBuilder()
> -        .bindNamedParameter(NamedParamterNoDefault.NamedString.class, (String) null)
> +        .bindNamedParameter(NamedParameterNoDefault.NamedString.class, (String) null)
>          .build();
>    }
>  
> -  static class NamedParamterNoDefault {
> +  static class NamedParameterNoDefault {
>      private final String str;
>  
>      @Inject
> -    NamedParamterNoDefault(@Parameter(NamedString.class) final String str) {
> +    NamedParameterNoDefault(@Parameter(NamedString.class) final String str) {
>        this.str = str;
>      }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message