Resolves checkstyle errors for remaining m (#1090)

* Reduces checkstyle errors in marker

* Reduces checkstyle errors in master-worker-pattern

* Reduces checkstyle errors in mediator

* Reduces checkstyle errors in memento

* Reduces checkstyle errors in model-view-controller

* Reduces checkstyle errors in model-view-presenter

* Reduces checkstyle errors in module

* Reduces checkstyle errors in monad

* Reduces checkstyle errors in monostate

* Reduces checkstyle errors in multiton

* Reduces checkstyle errors in mute-idiom

* Reduces checkstyle errors in mutex
This commit is contained in:
Anurag Agarwal
2019-11-16 18:18:23 +05:30
committed by Ilkka Seppälä
parent 3ccc9baa1a
commit 1fdc650545
66 changed files with 374 additions and 423 deletions

View File

@ -24,27 +24,25 @@
package com.iluwatar.model.view.controller;
/**
*
* Model-View-Controller is a pattern for implementing user interfaces. It divides the application
* into three interconnected parts namely the model, the view and the controller.
* <p>
* The central component of MVC, the model, captures the behavior of the application in terms of its
* problem domain, independent of the user interface. The model directly manages the data, logic and
* rules of the application. A view can be any output representation of information, such as a chart
* or a diagram The third part, the controller, accepts input and converts it to commands for the
* model or view.
* <p>
* In this example we have a giant ({@link GiantModel}) with statuses for health, fatigue and
* nourishment. {@link GiantView} can display the giant with its current status.
* {@link GiantController} receives input affecting the model and delegates redrawing the giant to
* the view.
*
* <p>The central component of MVC, the model, captures the behavior of the application in terms of
* its problem domain, independent of the user interface. The model directly manages the data, logic
* and rules of the application. A view can be any output representation of information, such as a
* chart or a diagram The third part, the controller, accepts input and converts it to commands for
* the model or view.
*
* <p>In this example we have a giant ({@link GiantModel}) with statuses for health, fatigue and
* nourishment. {@link GiantView} can display the giant with its current status. {@link
* GiantController} receives input affecting the model and delegates redrawing the giant to the
* view.
*/
public class App {
/**
* Program entry point
*
* Program entry point.
*
* @param args command line args
*/
public static void main(String[] args) {

View File

@ -24,9 +24,7 @@
package com.iluwatar.model.view.controller;
/**
*
* Fatigue enumeration
*
* Fatigue enumeration.
*/
public enum Fatigue {

View File

@ -24,9 +24,7 @@
package com.iluwatar.model.view.controller;
/**
*
* GiantController can update the giant data and redraw it using the view.
*
*/
public class GiantController {

View File

@ -24,9 +24,7 @@
package com.iluwatar.model.view.controller;
/**
*
* GiantModel contains the giant data
*
* GiantModel contains the giant data.
*/
public class GiantModel {

View File

@ -27,9 +27,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*
* GiantView displays the giant
*
* GiantView displays the giant.
*/
public class GiantView {

View File

@ -24,9 +24,7 @@
package com.iluwatar.model.view.controller;
/**
*
* Health enumeration
*
* Health enumeration.
*/
public enum Health {

View File

@ -24,9 +24,7 @@
package com.iluwatar.model.view.controller;
/**
*
* Nourishment enumeration
*
* Nourishment enumeration.
*/
public enum Nourishment {