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,23 +1,21 @@
package com.iluwatar;
/**
*
* There are two variations of the Adapter pattern: The
* class adapter implements the adaptee's interface whereas
* the object adapter uses composition to contain the adaptee
* in the adapter object. This example uses the object adapter
* approach.
*
* The Adapter (GnomeEngineer) converts the interface of the
* target class (GoblinGlider) into a suitable one expected
* by the client (GnomeEngineeringManager).
*
* There are two variations of the Adapter pattern: The class adapter implements
* the adaptee's interface whereas the object adapter uses composition to
* contain the adaptee in the adapter object. This example uses the object
* adapter approach.
*
* The Adapter (GnomeEngineer) converts the interface of the target class
* (GoblinGlider) into a suitable one expected by the client
* (GnomeEngineeringManager).
*
*/
public class App
{
public static void main( String[] args )
{
GnomeEngineeringManager manager = new GnomeEngineeringManager();
manager.operateDevice();
public class App {
public static void main(String[] args) {
GnomeEngineeringManager manager = new GnomeEngineeringManager();
manager.operateDevice();
}
}