Skip to content
Browse files

Made constructors for drives public instead of package protected. Made

arraylist a string arraylist to ensure type safety
  • Loading branch information...
1 parent 6927765 commit 5a3039c4125e3d490feb095aceb46a990ce1ad36 Ignacio committed
View
2 Assignment3E/src/customerSearch/products/Version1/SeaGateDrive1.java
@@ -10,7 +10,7 @@
{
public SeaGateDrive1()
{
- description = new ArrayList();
+ description = new ArrayList<String>();
Scanner descriptionInput;
String path = "src/customerSearch/util/productDescriptions/" + FileEnums.Product1.getCode();
// System.out.println("THIS IS THE PATH " + path);
View
4 Assignment3E/src/customerSearch/products/Version1/SeaGateDrive2.java
@@ -8,9 +8,9 @@
public class SeaGateDrive2 extends SeaGateDriveV1
{
- SeaGateDrive2()
+ public SeaGateDrive2()
{
- description = new ArrayList();
+ description = new ArrayList<String>();
Scanner descriptionInput;
String path = "src/customerSearch/util/productDescriptions/" + FileEnums.Product2.getCode();
try {
View
4 Assignment3E/src/customerSearch/products/Version1/SeaGateDrive3.java
@@ -8,9 +8,9 @@
public class SeaGateDrive3 extends SeaGateDriveV1
{
- SeaGateDrive3()
+ public SeaGateDrive3()
{
- description = new ArrayList();
+ description = new ArrayList<String>();
Scanner descriptionInput;
String path = "src/customerSearch/util/productDescriptions/" + FileEnums.Product3.getCode();
try {
View
4 Assignment3E/src/customerSearch/products/Version2/SeaGateDrive4.java
@@ -10,9 +10,9 @@
public class SeaGateDrive4 extends SeaGateDriveV2
{
- SeaGateDrive4()
+ public SeaGateDrive4()
{
- description = new ArrayList();
+ description = new ArrayList<String>();
Scanner descriptionInput;
String path = "src/customerSearch/util/productDescriptions/" + FileEnums.Product4.getCode();
try {
View
4 Assignment3E/src/customerSearch/products/Version2/SeaGateDrive5.java
@@ -8,9 +8,9 @@
public class SeaGateDrive5 extends SeaGateDriveV2
{
- SeaGateDrive5()
+ public SeaGateDrive5()
{
- description = new ArrayList();
+ description = new ArrayList<String>();
Scanner descriptionInput;
String path = "src/customerSearch/util/productDescriptions/" + FileEnums.Product5.getCode();
View
4 Assignment3E/src/customerSearch/products/Version2/SeaGateDrive6.java
@@ -8,9 +8,9 @@
public class SeaGateDrive6 extends SeaGateDriveV2
{
- SeaGateDrive6()
+ public SeaGateDrive6()
{
- description = new ArrayList();
+ description = new ArrayList<String>();
Scanner descriptionInput;
String path = "src/customerSearch/util/productDescriptions/" + FileEnums.Product6.getCode();
View
4 Assignment3E/src/customerSearch/products/Version3/SeaGateDrive7.java
@@ -10,9 +10,9 @@
public class SeaGateDrive7 extends SeaGateDriveV3
{
- SeaGateDrive7()
+ public SeaGateDrive7()
{
- description = new ArrayList();
+ description = new ArrayList<String>();
Scanner descriptionInput;
String path = "src/customerSearch/util/productDescriptions/" + FileEnums.Product7.getCode();
View
4 Assignment3E/src/customerSearch/products/Version3/SeaGateDrive8.java
@@ -9,9 +9,9 @@
public class SeaGateDrive8 extends SeaGateDriveV3
{
- SeaGateDrive8()
+ public SeaGateDrive8()
{
- description = new ArrayList();
+ description = new ArrayList<String>();
Scanner descriptionInput;
String path = "src/customerSearch/util/productDescriptions/" + FileEnums.Product8.getCode();
View
4 Assignment3E/src/customerSearch/products/Version3/SeaGateDrive9.java
@@ -7,9 +7,9 @@
import java.util.ArrayList;
public class SeaGateDrive9 extends SeaGateDriveV3
{
- SeaGateDrive9()
+ public SeaGateDrive9()
{
- description = new ArrayList();
+ description = new ArrayList<String>();
Scanner descriptionInput;
String path = "src/customerSearch/util/productDescriptions/" + FileEnums.Product9.getCode();
try {
View
4 Assignment3E/src/customerSearch/products/Version4/SeaGateDrive10.java
@@ -9,9 +9,9 @@
public class SeaGateDrive10 extends SeaGateDriveV4
{
- SeaGateDrive10()
+ public SeaGateDrive10()
{
- description = new ArrayList();
+ description = new ArrayList<String>();
Scanner descriptionInput;
String path = "src/customerSearch/util/productDescriptions/" + FileEnums.Product10.getCode();
View
4 Assignment3E/src/customerSearch/products/Version4/SeaGateDrive11.java
@@ -9,9 +9,9 @@
import java.util.ArrayList;
public class SeaGateDrive11 extends SeaGateDriveV4
{
- SeaGateDrive11()
+ public SeaGateDrive11()
{
- description = new ArrayList();
+ description = new ArrayList<String>();
Scanner descriptionInput;
String path = "src/customerSearch/util/productDescriptions/" + FileEnums.Product11.getCode();
View
4 Assignment3E/src/customerSearch/products/Version4/SeaGateDrive12.java
@@ -9,9 +9,9 @@
import java.util.ArrayList;
public class SeaGateDrive12 extends SeaGateDriveV4
{
- SeaGateDrive12()
+ public SeaGateDrive12()
{
- description = new ArrayList();
+ description = new ArrayList<String>();
Scanner descriptionInput;
String path = "src/customerSearch/util/productDescriptions/" + FileEnums.Product12.getCode();

0 comments on commit 5a3039c

Please sign in to comment.
Something went wrong with that request. Please try again.