/** * Get the property names for the option arguments. */ @Override public String[] getPropertyNames() { return StringUtils.toStringArray(this.source.getOptionNames()); }
/** * Get the property names for the option arguments. */ @Override public String[] getPropertyNames() { return StringUtils.toStringArray(this.source.getOptionNames()); }
@Test(expected = UnsupportedOperationException.class) public void assertOptionNamesIsUnmodifiable() { CommandLineArgs args = new SimpleCommandLineArgsParser().parse(); args.getOptionNames().add("bogus"); }
/** * Get the property names for the option arguments. */ @Override public String[] getPropertyNames() { return StringUtils.toStringArray(this.source.getOptionNames()); }
/** * Get the property names for the option arguments. */ @Override public String[] getPropertyNames() { return StringUtils.toStringArray(this.source.getOptionNames()); }