Apache Commons logo Commons CLI

Clirr Results

The following document contains the results of Clirr.

  • Current Version: 1.5-SNAPSHOT
  • Comparison Version: 1.4

Summary

Severity Number
Error Error 0
Warning Warning 0
Info Info 11

API Incompatibilities

Severity Message Class Method / Field
Info Method 'public java.lang.Object getOptionObject(char)' has been deprecated org.apache.commons.cli.CommandLine public java.lang.Object getOptionObject(char)
Info Method 'public java.util.Properties getOptionProperties(org.apache.commons.cli.Option)' has been added org.apache.commons.cli.CommandLine public java.util.Properties getOptionProperties(org.apache.commons.cli.Option)
Info Method 'public java.lang.String getOptionValue(org.apache.commons.cli.Option)' has been added org.apache.commons.cli.CommandLine public java.lang.String getOptionValue(org.apache.commons.cli.Option)
Info Method 'public java.lang.String getOptionValue(org.apache.commons.cli.Option, java.lang.String)' has been added org.apache.commons.cli.CommandLine public java.lang.String getOptionValue(org.apache.commons.cli.Option, java.lang.String)
Info Method 'public java.lang.String[] getOptionValues(org.apache.commons.cli.Option)' has been added org.apache.commons.cli.CommandLine public java.lang.String[] getOptionValues(org.apache.commons.cli.Option)
Info Method 'public java.lang.Object getParsedOptionValue(org.apache.commons.cli.Option)' has been added org.apache.commons.cli.CommandLine public java.lang.Object getParsedOptionValue(org.apache.commons.cli.Option)
Info Method 'public java.lang.Object getParsedOptionValue(char)' has been added org.apache.commons.cli.CommandLine public java.lang.Object getParsedOptionValue(char)
Info Method 'public boolean hasOption(org.apache.commons.cli.Option)' has been added org.apache.commons.cli.CommandLine public boolean hasOption(org.apache.commons.cli.Option)
Info Method 'public DefaultParser(boolean)' has been added org.apache.commons.cli.DefaultParser public DefaultParser(boolean)
Info Accessibility of method 'private void checkRequiredOptions()' has been increased from private to protected org.apache.commons.cli.DefaultParser private void checkRequiredOptions()
Info Method 'public java.io.FileInputStream openFile(java.lang.String)' has been added org.apache.commons.cli.TypeHandler public java.io.FileInputStream openFile(java.lang.String)

API Changelog

The following APIs were modified from version 1.4 to 1.5-SNAPSHOT:
  • Non justified changes

    Class From To
    org.apache.commons.cli.CommandLine public boolean hasOption(org.apache.commons.cli.Option)
    org.apache.commons.cli.CommandLine public java.lang.Object getOptionObject(char)
    org.apache.commons.cli.CommandLine public java.lang.Object getParsedOptionValue(char)
    org.apache.commons.cli.CommandLine public java.lang.Object getParsedOptionValue(org.apache.commons.cli.Option)
    org.apache.commons.cli.CommandLine public java.lang.String getOptionValue(org.apache.commons.cli.Option)
    org.apache.commons.cli.CommandLine public java.lang.String getOptionValue(org.apache.commons.cli.Option, java.lang.String)
    org.apache.commons.cli.CommandLine public java.lang.String[] getOptionValues(org.apache.commons.cli.Option)
    org.apache.commons.cli.CommandLine public java.util.Properties getOptionProperties(org.apache.commons.cli.Option)
    org.apache.commons.cli.DefaultParser private void checkRequiredOptions()
    org.apache.commons.cli.DefaultParser public DefaultParser(boolean)
    org.apache.commons.cli.TypeHandler public java.io.FileInputStream openFile(java.lang.String)