From 3bdc14efc622eddf3304b0c05dc22e39de06bd07 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Fri, 5 Nov 2021 09:08:56 +0100 Subject: [PATCH] changed Variable dummyText in final removed Variable dummyTextFileName in Class Text --- PM2_ClassDiagram.drawio | 2 +- src/Text.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/PM2_ClassDiagram.drawio b/PM2_ClassDiagram.drawio index d463081..e6ee161 100644 --- a/PM2_ClassDiagram.drawio +++ b/PM2_ClassDiagram.drawio @@ -1 +1 @@ -7VvbUuM4EP2aVDEPUL4nPJLAsFSFHZbM1sCjsIWtRba8skISvn4lS747wUC8TAq/pKxWS7H6HHW3OsrInIXrSwri4Jp4EI8MzVuPzPORYdjahH8KwUYKLGcsBT5FnhTphWCBXqASakq6RB5MKoqMEMxQXBW6JIqgyyoyQClZVdUeCa5+awx82BAsXICb0l/IY4GUToxxIf8DIj/Ivll3TmVPCDJltZIkAB5ZlUTmxcicUUKYfArXM4iF7TK7yHHft/TmL0ZhxLoMOJ07Fw/X8Uvyy0V/3t/B+V9/r45tOcszwEu14J9wzS48xAhVr802mS2SFQoxiHhr+kgitlA9Om8DjPyIP7v8ZSDlgmdIGeJmPFMdjMRc6gYIe3OwIUvxygkD7lPWmgaEohc+LcBqTt5NmWKE4VQ0FmIkF2tcSmHCdW4yO+g10TVYVxTnIGFK4BKMQZygh3wZIaA+iqaEMRIqpaaZleXFCuG6JFJmv4QkhIxuuEq+CeQItQXMrL0qCJWzJCiRyVEyoDjs5zMXMPMHhfQbUB83UG9gjVGKc8IoecqZL0z0iDCeEczpYZ5HJFXKwMfwkbVAHyLPw+lkMXBR5P8UVDg/1gvJPB14bhaSW2UFIaKEAQYkSAIRDB4gviEJYoiI+anUncYERSw1lT0d2eephLIZifgiAErRgxz8FRQEaMF15wZ5HWyFLmdqJ3AnPWE7aWAbU/QMGEzxBRwZ0Uv4HIZ2zc1ytGCUG1zZTDhNP/nWoANfPMvpUIP/7YyQz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lyFtC2yvabscJxu7EiZ8/JaWHZrZ5+8PEn8vHexaGTLxKYCuKW14b4uC8vbzktbh7WOr4UAu1XBGxke1TBYlyA7YV6D4xlGzUGH9C+o14TGtop0ZsTcIfA3x+8E7sbvH1FfquZzOv9joLgDEI6sMqxtLubB5s43p+xmhR0BU4o8nFbF2EBGKIuDbFUgaR+A3XkwzSbZnAjp+WZ1zGyWG5vkcVrME0fGVc8JA9DTnGinMKZ1Q6O7rQj8pPekG8eHXUaaVKGwgWs96nE8Z8b1aVwqjqHwSEcdQheZ568MK+Yun2xonnoHPKKk8FrjTs6/N4Si4tnEguYPuLBmdwn+NPIuVReAC4re/0cRHhHhrNED6SYdSOFa/fEirx8UWFFxekPKUAvZQXXcd46+SsWUeKuaK/erYgYDZG++64vdtD7qSDkgX2I9H3A+9YVBPu5imEisi1eO+DrDf8NbZ/p+Ux2Z3fNugAWgotrBjchQVF5fF5lweMYsWBwJqdmW9c6wqy3SNIsR+oM4poNCURPCcRk1jFvtPrzMs06pTonrH3EGOAHsOdXH3THVwnudt3+bmdmvDCXcPuqGtjNKuKQS5wM3ukbFw3sto9M9BsGFOhiQSP4KzfgR9h/uGbJRpruTPWOc4oRq+kKHMPWXCf4aREhgXxw/+ngNXr1GtOO4aO3CrTTwWtgFlyqb/9UUkBRmhJfRXAZ59EdjCL2t9XGT4UHGNo0l3nc1q193toReVu5royCVjlINYoxQYhzWAC9iIecIXpVSp+P8infCB8fgy//IhJSB3y0vmQ2o3qYoyhXYJ0cQVVgiiR5xAeP2wa1ucNXrksEhmJTr1bVqKeYeuVmVEmYxkQzq14eqU2kLdOYKGNesexXkLHDl3QfhYz56+d3R8ZxnYy1imlXMk5q33m61n9Mxg5vYT4KGfPs472T0Zn+omd8azLm5ef3QsZX+L2uVJv9r5n2yzF4WmfayWIwNMu/R2j18k8mztU/ \ No newline at end of file diff --git a/src/Text.java b/src/Text.java index 3119b82..2562601 100644 --- a/src/Text.java +++ b/src/Text.java @@ -6,8 +6,7 @@ import java.util.Scanner; public class Text { private ArrayList text = new ArrayList<>(); - private static final String dummyTextFileName = "dummytext.txt"; - private static String dummyText = "The standard Lorem Ipsum passage, used since the 1500s \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\" Section 1.10.32 of \"de Finibus Bonorum et Malorum\", written by Cicero in 45 BC \"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"; + private static final String dummyText = "The standard Lorem Ipsum passage, used since the 1500s \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\" Section 1.10.32 of \"de Finibus Bonorum et Malorum\", written by Cicero in 45 BC \"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"; /**