Skip to content

Commit

Permalink
Rubocop fix: Style/FirstParameterIndentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Apr 20, 2017
1 parent 0f87350 commit 8b49649
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
26 changes: 13 additions & 13 deletions src/include/s390/dasd/dialogs.rb
Expand Up @@ -341,7 +341,7 @@ def PerformAction(action)
end
channels_str = Builtins.mergestring(channels, ", ")
if !Popup.AnyQuestionRichText(
Popup.NoHeadline,
Popup.NoHeadline,
# popup question
Builtins.sformat(
_(
Expand Down Expand Up @@ -556,15 +556,15 @@ def DASDDialog
ret = nil
next
elsif Builtins.contains(
[
:activate,
:deactivate,
:diag_on,
:diag_off,
:format,
:format_on,
:format_off
],
[
:activate,
:deactivate,
:diag_on,
:diag_off,
:format,
:format_on,
:format_off
],
ret
)
ReloadDASDDialog() if PerformAction(ret)
Expand Down Expand Up @@ -624,9 +624,9 @@ def AddDASDDiskDialog
if ret == :abort || ret == :cancel
# yes-no popup
if !Popup.YesNo(
_(
"Really leave the DASD disk configuration without saving?\nAll changes will be lost."
)
_(
"Really leave the DASD disk configuration without saving?\nAll changes will be lost."
)
)
ret = nil
end
Expand Down
2 changes: 1 addition & 1 deletion src/include/s390/iucvterminal-server/ui.rb
Expand Up @@ -1521,7 +1521,7 @@ def IUCVTerminalServerDialog
ret = Convert.to_symbol(UI.UserInput)
# if ts user/group dialog is active
if Builtins.contains(
[:ts_open_user_dialog, :ts_open_group_dialog],
[:ts_open_user_dialog, :ts_open_group_dialog],
@current_dialog
)
if Builtins.contains([:next, :ok, :finish], ret)
Expand Down
2 changes: 1 addition & 1 deletion src/include/s390/onpanic/ui.rb
Expand Up @@ -257,7 +257,7 @@ def OnPanicDialog
if Builtins.contains([:next, :ok, :finish], ret) && @start
# don't allow dumps if no device is available
if Builtins.regexpmatch(
Convert.to_string(UI.QueryWidget(Id(:onpanic), :Value)),
Convert.to_string(UI.QueryWidget(Id(:onpanic), :Value)),
"^dump"
) &&
Convert.to_string(UI.QueryWidget(Id(:dumpdevice), :Value)) == ""
Expand Down
12 changes: 6 additions & 6 deletions src/include/s390/zfcp/dialogs.rb
Expand Up @@ -229,9 +229,9 @@ def ZFCPDialog
elsif ret == :abort || ret == :cancel
# yes-no popup
if !Popup.YesNo(
_(
"Really leave the ZFCP device configuration without saving?\nAll changes will be lost."
)
_(
"Really leave the ZFCP device configuration without saving?\nAll changes will be lost."
)
)
ret = nil
end
Expand Down Expand Up @@ -381,9 +381,9 @@ def AddZFCPDiskDialog
elsif ret == :abort || ret == :cancel
# yes-no popup
if !Popup.YesNo(
_(
"Really leave the ZFCP device configuration without saving?\nAll changes will be lost."
)
_(
"Really leave the ZFCP device configuration without saving?\nAll changes will be lost."
)
)
ret = nil
end
Expand Down

0 comments on commit 8b49649

Please sign in to comment.