Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christian Pichot
AML-E-Project
Commits
6160f95d
Commit
6160f95d
authored
Mar 19, 2018
by
DanielPJFaria
Browse files
Updated SizeCategory threshold
parent
de25df2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
AgreementMakerLight/src/aml/settings/SizeCategory.java
View file @
6160f95d
...
...
@@ -41,7 +41,8 @@ public enum SizeCategory
int
sSize
=
source
.
count
();
int
tSize
=
target
.
count
();
int
max
=
Math
.
max
(
sSize
,
tSize
);
if
(
max
>
60000
||
sSize
*
tSize
>
1500000000
)
int
min
=
Math
.
min
(
sSize
,
tSize
);
if
(
max
>
60000
||
(
min
>
30000
&&
sSize
*
tSize
>
1000000000
))
return
HUGE
;
else
if
(
max
>
5000
)
return
LARGE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment