repositories
/
Project_POO.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb6a4f9
)
exo6: Code cleanup.
author
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Sun, 3 Jun 2018 13:19:48 +0000
(15:19 +0200)
committer
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Sun, 3 Jun 2018 13:19:48 +0000
(15:19 +0200)
exo6/Chiffre.java
patch
|
blob
|
blame
|
history
diff --git
a/exo6/Chiffre.java
b/exo6/Chiffre.java
index a040ee9a04264bbe990170c86e8c7b87c86235d3..6774f5e9ac9ef5d9c724bedc9b6d64dc6c92b746 100644
(file)
--- a/
exo6/Chiffre.java
+++ b/
exo6/Chiffre.java
@@
-14,6
+14,7
@@
class Chiffre extends Facteur {
private boolean isChiffre() {
return Character.isDigit(c);
}
+
public double evaluer() throws NotDigitException {
if(isChiffre()) {
return Character.getNumericValue(c);