mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-30 07:39:19 +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}
|
* Gets the {@link Loader} arguments associated with this {@link OptionChooser}
|
||||||
*
|
*
|
||||||
* @return 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 Use {@link ProgramLoader.Builder#loaderArgs(List)} instead
|
||||||
*/
|
*/
|
||||||
@Deprecated(since = "12.0", forRemoval = true)
|
@Deprecated(since = "12.0", forRemoval = true)
|
||||||
public default List<Pair<String, String>> getArgs() {
|
public default List<Pair<String, String>> getArgs() {
|
||||||
throw new UnsupportedOperationException();
|
return List.of();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user