mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
checkstyle
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -10753,6 +10753,7 @@ src/main/java/forge/control/ControlMatchUI.java -text
|
||||
src/main/java/forge/control/ControlWinLose.java -text
|
||||
src/main/java/forge/control/home/ControlConstructed.java -text
|
||||
src/main/java/forge/control/home/ControlQuest.java -text
|
||||
src/main/java/forge/control/home/package-info.java -text svneol=native#text/plain
|
||||
src/main/java/forge/control/match/ControlDetail.java -text
|
||||
src/main/java/forge/control/match/ControlDock.java -text
|
||||
src/main/java/forge/control/match/ControlField.java -text
|
||||
|
||||
3
src/main/java/forge/control/home/package-info.java
Normal file
3
src/main/java/forge/control/home/package-info.java
Normal file
@@ -0,0 +1,3 @@
|
||||
/** Controller (as in model-view-controller) for Forge. */
|
||||
package forge.control.home;
|
||||
|
||||
@@ -608,10 +608,10 @@ public class MultiLineLabelUI extends BasicLabelUI implements ComponentListener
|
||||
* Sets the label ui.
|
||||
*
|
||||
* @param labelUI
|
||||
* the labelUI to set
|
||||
* the new label ui
|
||||
*/
|
||||
public static void setLabelUI(final LabelUI labelUI0) {
|
||||
MultiLineLabelUI.labelUI = labelUI0;
|
||||
public static void setLabelUI(final LabelUI labelUI) {
|
||||
MultiLineLabelUI.labelUI = labelUI;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -56,8 +56,7 @@ public class MultiPhaseProgressMonitorWithETA extends BaseProgressMonitor {
|
||||
* @see #MultiPhaseProgressMonitorWithETA(String,int,long,float,float[])
|
||||
*/
|
||||
public MultiPhaseProgressMonitorWithETA(final String neoTitle, final int numPhases,
|
||||
final long totalUnitsFirstPhase, final float minUIUpdateIntervalSec)
|
||||
{
|
||||
final long totalUnitsFirstPhase, final float minUIUpdateIntervalSec) {
|
||||
this(neoTitle, numPhases, totalUnitsFirstPhase, minUIUpdateIntervalSec, null);
|
||||
}
|
||||
|
||||
@@ -88,8 +87,7 @@ public class MultiPhaseProgressMonitorWithETA extends BaseProgressMonitor {
|
||||
* @see BaseProgressMonitor#BaseProgressMonitor(int,long,float,float[])
|
||||
*/
|
||||
public MultiPhaseProgressMonitorWithETA(final String neoTitle, final int numPhases,
|
||||
final long totalUnitsFirstPhase, final float minUIUpdateIntervalSec,
|
||||
final float[] phaseWeights) {
|
||||
final long totalUnitsFirstPhase, final float minUIUpdateIntervalSec, final float[] phaseWeights) {
|
||||
super(numPhases, totalUnitsFirstPhase, minUIUpdateIntervalSec, phaseWeights);
|
||||
|
||||
if (!SwingUtilities.isEventDispatchThread()) {
|
||||
@@ -171,8 +169,10 @@ public class MultiPhaseProgressMonitorWithETA extends BaseProgressMonitor {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param numUnits cannot be higher than Integer.MAX_VALUE
|
||||
* Sets the total units this phase.
|
||||
*
|
||||
* @param numUnits
|
||||
* cannot be higher than Integer.MAX_VALUE
|
||||
* @see net.slightlymagic.braids.util.progress_monitor.ProgressMonitor#setTotalUnitsThisPhase(long)
|
||||
*/
|
||||
@Override
|
||||
@@ -202,10 +202,8 @@ public class MultiPhaseProgressMonitorWithETA extends BaseProgressMonitor {
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
MultiPhaseProgressMonitorWithETA.this.dialog
|
||||
.setTitle(MultiPhaseProgressMonitorWithETA.this.title);
|
||||
MultiPhaseProgressMonitorWithETA.this.dialog
|
||||
.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
|
||||
MultiPhaseProgressMonitorWithETA.this.dialog.setTitle(MultiPhaseProgressMonitorWithETA.this.title);
|
||||
MultiPhaseProgressMonitorWithETA.this.dialog.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
|
||||
MultiPhaseProgressMonitorWithETA.this.dialog.setVisible(true);
|
||||
MultiPhaseProgressMonitorWithETA.this.dialog.setResizable(true);
|
||||
MultiPhaseProgressMonitorWithETA.this.dialog.getProgressBar().setIndeterminate(false);
|
||||
@@ -222,6 +220,10 @@ public class MultiPhaseProgressMonitorWithETA extends BaseProgressMonitor {
|
||||
}
|
||||
|
||||
/**
|
||||
* Increment units completed this phase.
|
||||
*
|
||||
* @param numUnits
|
||||
* the num units
|
||||
* @see net.slightlymagic.braids.util.progress_monitor.ProgressMonitor#incrementUnitsCompletedThisPhase(long)
|
||||
*/
|
||||
@Override
|
||||
|
||||
@@ -122,8 +122,8 @@ public class CardPanel extends JPanel implements CardContainer {
|
||||
* @param connectedCard
|
||||
* the connectedCard to set
|
||||
*/
|
||||
public void setConnectedCard(final CardPanel connectedCard0) {
|
||||
this.connectedCard = connectedCard0;
|
||||
public void setConnectedCard(final CardPanel connectedCard) {
|
||||
this.connectedCard = connectedCard;
|
||||
}
|
||||
|
||||
// ~
|
||||
|
||||
Reference in New Issue
Block a user