Just formatting App classes to be like the other class files on the project

This commit is contained in:
Matthew
2014-10-07 16:23:37 +01:00
parent 52f0923df9
commit bde5b343d0
24 changed files with 466 additions and 508 deletions

View File

@ -1,25 +1,23 @@
package com.iluwatar;
/**
*
* Observer pattern defines one-to-many relationship
* between objects. The target object sends change
* notifications to its registered observers.
*
* Observer pattern defines one-to-many relationship between objects. The target
* object sends change notifications to its registered observers.
*
*/
public class App
{
public static void main( String[] args )
{
public class App {
public static void main(String[] args) {
Weather weather = new Weather();
weather.addObserver(new Orcs());
weather.addObserver(new Hobbits());
weather.timePasses();
weather.timePasses();
weather.timePasses();
weather.timePasses();
Weather weather = new Weather();
weather.addObserver(new Orcs());
weather.addObserver(new Hobbits());
weather.timePasses();
weather.timePasses();
weather.timePasses();
weather.timePasses();
}
}