Преглед на файлове

Apply updates from code review comments

jamming преди 10 години
родител
ревизия
44ac73f34b
променени са 1 файла, в които са добавени 0 реда и са изтрити 15 реда
  1. 0 15
      frameworks/Java/sabina/src/main/java/sabina/benchmark/MongoDbRepository.java

+ 0 - 15
frameworks/Java/sabina/src/main/java/sabina/benchmark/MongoDbRepository.java

@@ -27,21 +27,6 @@ import com.mongodb.client.MongoDatabase;
 import org.bson.Document;
 
 final class MongoDbRepository implements Repository {
-    private static final String [] FORTUNES = {
-        "fortune: No such file or directory",
-        "A computer scientist is someone who fixes things that aren't broken.",
-        "After enough decimal places, nobody gives a damn.",
-        "A bad random number generator: 1, 1, 1, 1, 1, 4.33e+67, 1, 1, 1",
-        "A computer program does what you tell it to do, not what you want it to do.",
-        "Emacs is a nice operating system, but I prefer UNIX. — Tom Christaensen",
-        "Any program that runs right is obsolete.",
-        "A list is only as strong as its weakest link. — Donald Knuth",
-        "Feature: A bug with seniority.",
-        "Computers make very fast, very accurate mistakes.",
-        "<script>alert(\"This should not be displayed in a browser alert box.\");</script>",
-        "フレームワークのベンチマーク"
-    };
-
     private MongoCollection<Document> worldCollection;
     private MongoCollection<Document> fortuneCollection;