reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dongjoon Hyun (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (REEF-1153) Fix typos in class/function names
Date Mon, 25 Jan 2016 22:58:39 GMT

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

Dongjoon Hyun updated REEF-1153:
--------------------------------
    Description: 
This fixes the following typos in class/function names.

*1. Deprecated `getEvaluatorDescriptorSring` in reef-bridge-java*
{code}
+  public String getEvaluatorDescriptorString() {
+    final String descriptorString = Utilities.getEvaluatorDescriptorString(jactiveContext.getEvaluatorDescriptor());
+    LOG.log(Level.FINE, "active context - serialized evaluator descriptor: " + descriptorString);
+    return descriptorString;
+  }
+
+  /**
+   * @deprecated in 0.14. Use getEvaluatorDescriptorString instead.
+   */
+  @Deprecated
   public String getEvaluatorDescriptorSring() {
{code}

*2. Replace ProbabilityOfSuccessfulIteration.java with ProbabilityOfSuccessfulIteration.java
in reef-example*
Also, the corresponding codes are fixed.

*3. Fix typos in unittest function name*
{code}
-  public void testMultipleInjectorInstaceWithSingleton() throws BindException, InjectionException
{
+  public void testMultipleInjectorInstanceWithSingleton() throws BindException, InjectionException
{
{code}
{code}
-  public void immutablilityTest() throws BindException, InjectionException {
+  public void immutabilityTest() throws BindException, InjectionException {
{code}

  was:
This fixes the following typos in class/function names.

*1. Deprecated `getEvaluatorDescriptorSring` in reef-bridge-java*
{code}
+  public String getEvaluatorDescriptorString() {
+    final String descriptorString = Utilities.getEvaluatorDescriptorString(jactiveContext.getEvaluatorDescriptor());
+    LOG.log(Level.FINE, "active context - serialized evaluator descriptor: " + descriptorString);
+    return descriptorString;
+  }
+
+  /**
+   * @deprecated in 0.14. Use getEvaluatorDescriptorString instead.
+   */
+  @Deprecated
   public String getEvaluatorDescriptorSring() {
{code}

*2. Replace ProbabilityOfSuccessfulIteration.java with ProbabilityOfSuccessfulIteration.java
in reef-example *
Also, the corresponding codes are fixed.

*3. Fix typos in unittest function name *
{code}
-  public void testMultipleInjectorInstaceWithSingleton() throws BindException, InjectionException
{
+  public void testMultipleInjectorInstanceWithSingleton() throws BindException, InjectionException
{
{code}
{code}
-  public void immutablilityTest() throws BindException, InjectionException {
+  public void immutabilityTest() throws BindException, InjectionException {
{code}


> Fix typos in class/function names
> ---------------------------------
>
>                 Key: REEF-1153
>                 URL: https://issues.apache.org/jira/browse/REEF-1153
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF Bridge, REEF Examples, Tang
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Minor
>
> This fixes the following typos in class/function names.
> *1. Deprecated `getEvaluatorDescriptorSring` in reef-bridge-java*
> {code}
> +  public String getEvaluatorDescriptorString() {
> +    final String descriptorString = Utilities.getEvaluatorDescriptorString(jactiveContext.getEvaluatorDescriptor());
> +    LOG.log(Level.FINE, "active context - serialized evaluator descriptor: " + descriptorString);
> +    return descriptorString;
> +  }
> +
> +  /**
> +   * @deprecated in 0.14. Use getEvaluatorDescriptorString instead.
> +   */
> +  @Deprecated
>    public String getEvaluatorDescriptorSring() {
> {code}
> *2. Replace ProbabilityOfSuccessfulIteration.java with ProbabilityOfSuccessfulIteration.java
in reef-example*
> Also, the corresponding codes are fixed.
> *3. Fix typos in unittest function name*
> {code}
> -  public void testMultipleInjectorInstaceWithSingleton() throws BindException, InjectionException
{
> +  public void testMultipleInjectorInstanceWithSingleton() throws BindException, InjectionException
{
> {code}
> {code}
> -  public void immutablilityTest() throws BindException, InjectionException {
> +  public void immutabilityTest() throws BindException, InjectionException {
> {code}



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

Mime
View raw message