bernstdh@dukes.jmu.edu) and
generate a classic Personal Access Token for this project.
Note: If you don't know what "scopes" to select, the easiest thing to do
is select them all.
/home/bernstdh/cs300/projectworkspace.
NOTES: (1) Do not put the projectworkspace directory under
an existing Eclipse workspace. (2) Do not put the
projectworkspace directory on a networked drive (e.g.
OneDrive).
bernstdh@dukes.jmu.edu). For more
information, see the course "Help" page on
"Configuring Git in Eclipse".
The remaining tasks must be completed during the scheduled lab period, with the members of your team.
projectrepository in the directory under the
directory you use for this course
(e.g., /home/bernstdh/cs300/projectrepository).
NOTE: (1) Do not put the projectrepository directory
under the directory that contains the Eclipse workspace you just
created (e.g., do not use
/home/bernstdh/cs300/projectworkspace/projectrepository).
(2) Do not put the projectrepository directory on
a networked drive (e.g., OneDrive).
/home/bernstdh/cs300/projectworkspace).
projectrepository directory you just created
(e.g., /home/bernstdh/cs300/projectrepository)
for the destination, and use origin for the "Remote name".
forContains() method in
Check.java so that it uses equalsIgnoreCase()
instead of equals(), but do not save the file.
Check.java.
Check.java
with the latest version from the repository (called the ''HEAD
Revision'') to remind yourself of the change
you made. For more information, see the course "Help" page on
"Comparing Files".
haystack[i].equals()
in Check.java with a call to
haystack[i].endsWith(), and save the file.
endsWith() to equals().
(Obviously, you will also need to delete the Git conflict markers
that are inserted into the code to highlight the differences.)
forContainsIgnoreCase()
that is passed a String[] and String
and uses the equalsIgnoreCase() method.
forContainsTest() method in
the CheckTest class so that it ensures that
the forContains() method in the Check
class is case sensitive. (For example, check to ensure an
all-upper-case version of a word in the haystack is
not found.)
forContainsTest_null() method
in the CheckTest class so that it tests for the case
when both the haystack and the needle are
null.
forContains()
that is passed a List<String> and String
and uses the equals() method.
forContainsIgnoreCase()
that is passed a List<String> and String
and uses the equalsIgnoreCase() method.
forContains() that is
passed an Iterable<String>
and String and uses the equals() method.
CheckTest class that tested
the forContainsIgnoreCase() methods that Alice was
adding to the Check class?
Copyright 2024