* Closes #65. * Removed * Removed unnecessary files. Added logging. Closes Fixes #1660. * Added Terminition condition. * Logger implemented. Removed maven wrapper. * Added module to parent POM. removed .gitignore * Replaced tabs with whitespaces, added Javadocs. * Fixed more whitespaces problems. * Fixed more checkstyle errors * More checkstyle errors. * Checkstyle errors. * Final checkstyle cleanup * Added UML file. Changed System.exit() to Runtime. * Changed buisiness logic and readme.md file * Changed typos and readme.md file * Fixed checkstyle errors * Fixed grammer errors and CircleCI bugs. * Wrong readme.md * Added Thread.interrupt() for after catching exception. * Fixed SonarCloud code smells. * Removed unused brackets. * Changed main program exit logic. Added tests. * Reverted abstract-factory * Cleaned code * Added static to loggers. cleaned code smells. * Checkstyle errors. * Code Smells. Co-authored-by: Subhrodip Mohanta <hello@subho.xyz>
25 lines
476 B
Plaintext
25 lines
476 B
Plaintext
@startuml
|
|
package com.iluwatar.activeobject {
|
|
abstract class ActiveCreature {
|
|
- logger : Logger
|
|
- name : String
|
|
- requests : BlockingQueue<Runnable>
|
|
- thread : Thread
|
|
+ ActiveCreature(name : String)
|
|
+ eat()
|
|
+ name() : String
|
|
+ roam()
|
|
}
|
|
class App {
|
|
- creatures : Integer
|
|
- logger : Logger
|
|
+ App()
|
|
+ main(args : String[]) {static}
|
|
+ run()
|
|
}
|
|
class Orc {
|
|
+ Orc(name : String)
|
|
}
|
|
}
|
|
Orc --|> ActiveCreature
|
|
@enduml |