mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-26 19:33:44 +08:00
GP-0: Changing default behavior of OptionChooser.getArgs() to return an
empty list rather than throw an exception
This commit is contained in:
@@ -47,11 +47,10 @@ public interface OptionChooser {
|
||||
* Gets the {@link Loader} arguments associated with this {@link OptionChooser}
|
||||
*
|
||||
* @return The {@link Loader} arguments associated with this {@link OptionChooser}
|
||||
* @throws UnsupportedOperationException if a subclass has not implemented this method
|
||||
* @deprecated Use {@link ProgramLoader.Builder#loaderArgs(List)} instead
|
||||
*/
|
||||
@Deprecated(since = "12.0", forRemoval = true)
|
||||
public default List<Pair<String, String>> getArgs() {
|
||||
throw new UnsupportedOperationException();
|
||||
return List.of();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user