-
Notifications
You must be signed in to change notification settings - Fork 10
pablo and ruber package #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #29 +/- ##
=============================================
+ Coverage 94.78% 95.73% +0.95%
- Complexity 138 202 +64
=============================================
Files 26 41 +15
Lines 307 446 +139
Branches 50 59 +9
=============================================
+ Hits 291 427 +136
- Misses 5 7 +2
- Partials 11 12 +1
Continue to review full report at Codecov.
|
| /** | ||
| * method fill number digite. | ||
| */ | ||
| public void fillNumber() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AT-03/at-03
what is wrong here?
| /** | ||
| * Created by reinaldo on 11/03/2017. | ||
| */ | ||
| public class HistoryOneBankOcr extends FileNumberBankOcr { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need inheritance here.
| * @return int. | ||
| */ | ||
| public int checkSumAcount(final String accountNumber) { | ||
| List<String> listaCadena = Arrays.asList(accountNumber.split("")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you using Spanish?
| public class Children extends Movie { | ||
| private static final int LIMIT_NEW_CHILD = 3; | ||
| private static final double PRICE = 1.5; | ||
| private static final int NAMBER_RENTAL_DAYS = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo
| * {@inherentDoc} | ||
| * | ||
| * @param daysRented Int with daysRented for Children movie. | ||
| */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be
/**
* {@inherentDoc}
*/| */ | ||
| String generateDetail() { | ||
| StringBuilder result = new StringBuilder(); | ||
| result.append("Rental Record for " + getName() + "\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AT-03/at-03
what is wrong here?
| ); | ||
|
|
||
| // when: | ||
| HistoryOneBankOcr bankOcr = new HistoryOneBankOcr(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move it to a @before method
|
|
||
| // when: | ||
| HistoryOneBankOcr bankOcr = new HistoryOneBankOcr(); | ||
| String actualResult = bankOcr.verificationLineNumber(insertLineFour); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should be final
| /** | ||
| * method fill number digite. | ||
| */ | ||
| private void fillNumber() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of doing this
please convert a constant the Map
static final
| */ | ||
| final class MultiplesOf3And5 { | ||
| private static final int NUMBERDIVISOR = 3; | ||
| private static final int NUMBERDIVISORCINCO = 5; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NUMBERDIVISOR ?
NUMBERDIVISORCINCO ?
|
@carledriss thanks for your observation. |
No description provided.