File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
exist-core/src/main/java/org/exist Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -156,9 +156,7 @@ public static void process(final ParsedArguments arguments) {
156
156
157
157
final boolean guiMode = getBool (arguments , guiArg );
158
158
final boolean quiet = getBool (arguments , quietArg );
159
- Optional .ofNullable (arguments .get (optionArg )).ifPresent (options -> {
160
- options .forEach (properties ::setProperty );
161
- });
159
+ Optional .ofNullable (arguments .get (optionArg )).ifPresent (options -> options .forEach (properties ::setProperty ));
162
160
163
161
properties .setProperty (USER_PROP , arguments .get (userArg ));
164
162
final String optionPass = arguments .get (passwordArg );
Original file line number Diff line number Diff line change @@ -222,9 +222,7 @@ private void setupComponents() throws XMLDBException {
222
222
item = new JMenuItem (Messages .getString ("DocumentView.17" ), KeyEvent .VK_S ); //$NON-NLS-1$
223
223
item .setAccelerator (KeyStroke .getKeyStroke (KeyEvent .VK_S ,
224
224
Toolkit .getDefaultToolkit ().getMenuShortcutKeyMask ()));
225
- item .addActionListener (e -> {
226
- save ();
227
- });
225
+ item .addActionListener (e -> save ());
228
226
fileMenu .add (item );
229
227
/*
230
228
// Refresh
You can’t perform that action at this time.
0 commit comments