Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

Commit 57d8450

Browse files
committed
Fixed build warnings
Fixed two @OverRide build warnings.
1 parent dd7e50e commit 57d8450

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/main/java/de/daslaboratorium/machinelearning/classifier/Classifier.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ public int categoryCount(K category) {
270270
/**
271271
* {@inheritDoc}
272272
*/
273-
@Override
274273
public float featureProbability(T feature, K category) {
275274
if (this.categoryCount(category) == 0)
276275
return 0;

src/main/java/de/daslaboratorium/machinelearning/classifier/bayes/BayesClassifier.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ private SortedSet<Classification<T, K>> categoryProbabilities(
7373
new TreeSet<Classification<T, K>>(
7474
new Comparator<Classification<T, K>>() {
7575

76-
@Override
7776
public int compare(Classification<T, K> o1,
7877
Classification<T, K> o2) {
7978
int toReturn = Float.compare(

0 commit comments

Comments
 (0)