Skip to content

Commit 9e30383

Browse files
committed
Update license and puml
1 parent 6fe219d commit 9e30383

2 files changed

Lines changed: 84 additions & 0 deletions

File tree

.github/workflows/maven.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
#
2+
# The MIT License
3+
# Copyright © 2014-2019 Ilkka Seppälä
4+
#
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the "Software"), to deal
7+
# in the Software without restriction, including without limitation the rights
8+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
# copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
#
12+
# The above copyright notice and this permission notice shall be included in
13+
# all copies or substantial portions of the Software.
14+
#
15+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
# THE SOFTWARE.
22+
#
23+
124
# This workflow will build a Java project with Maven
225
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
326

strangler/etc/strangler.urm.puml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
@startuml
2+
package com.iluwatar.strangler {
3+
class App {
4+
+ App()
5+
+ main(args : String[]) {static}
6+
}
7+
class HalfArithmetic {
8+
- LOGGER : Logger {static}
9+
- VERSION : String {static}
10+
- newSource : HalfSource
11+
- oldSource : OldSource
12+
+ HalfArithmetic(newSource : HalfSource, oldSource : OldSource)
13+
+ ifHasZero(nums : int[]) : boolean
14+
+ mul(nums : int[]) : int
15+
+ sum(nums : int[]) : int
16+
}
17+
class HalfSource {
18+
- LOGGER : Logger {static}
19+
- VERSION : String {static}
20+
+ HalfSource()
21+
+ accumulateSum(nums : int[]) : int
22+
+ ifNonZero(nums : int[]) : boolean
23+
}
24+
class NewArithmetic {
25+
- LOGGER : Logger {static}
26+
- VERSION : String {static}
27+
- source : NewSource
28+
+ NewArithmetic(source : NewSource)
29+
+ ifHasZero(nums : int[]) : boolean
30+
+ mul(nums : int[]) : int
31+
+ sum(nums : int[]) : int
32+
}
33+
class NewSource {
34+
- LOGGER : Logger {static}
35+
- VERSION : String {static}
36+
+ NewSource()
37+
+ accumulateMul(nums : int[]) : int
38+
+ accumulateSum(nums : int[]) : int
39+
+ ifNonZero(nums : int[]) : boolean
40+
}
41+
class OldArithmetic {
42+
- LOGGER : Logger {static}
43+
- VERSION : String {static}
44+
- source : OldSource
45+
+ OldArithmetic(source : OldSource)
46+
+ mul(nums : int[]) : int
47+
+ sum(nums : int[]) : int
48+
}
49+
class OldSource {
50+
- LOGGER : Logger {static}
51+
- VERSION : String {static}
52+
+ OldSource()
53+
+ accumulateMul(nums : int[]) : int
54+
+ accumulateSum(nums : int[]) : int
55+
}
56+
}
57+
OldArithmetic --> "-source" OldSource
58+
NewArithmetic --> "-source" NewSource
59+
HalfArithmetic --> "-newSource" HalfSource
60+
HalfArithmetic --> "-oldSource" OldSource
61+
@enduml

0 commit comments

Comments
 (0)