David Whitlock

Results 43 issues of David Whitlock

It looks like Maven wrapper has been promoted to be a first-class citizen in Maven: https://maven.apache.org/plugins/maven-wrapper-plugin/index.html I should recreate the Maven wrapper scripts and jars using that plugin.

REST project mockito tests should reference constants for parameter names In the unit tests for the projects servlets, the name of the parameter (`"word"`) is used. https://github.com/DavidWhitlock/PortlandStateJava/blob/770136581e8fcd84662bf5549defe3890beddce9/projects-parent/originals-parent/phonebill-web/src/test/java/edu/pdx/cs410J/phonebillweb/PhoneBillServletTest.java#L49 We should reference...

The `Date` and `SimpleDateFormat` classes are old and there is a lot of deprecated functionality. In Project 3, students are finding that the date parsing isn't strict enough, which is...

A student noticed that they weren't able to use `@VisibleForTesting` in the Kata project. Sure enough, I forgot to add guava to the kata project in #384. I should just...

As part of fixing the Maven site for the projects (https://github.com/DavidWhitlock/PortlandStateJavaSummer2022/pull/1), I realized that, with the "fluido" skin, all projects must have a `site.xml` file in order for their site's...

Even though classes like `AirlineServlet` do not output HTML, the code really should do something to protect against XSS attacks. It would be a good example. Here are some ideas...

We're using Canvas now. Let's replace all of the D2L-related behavior in the `grader` project with Canvas-related behavior. I created assignments in Canvas for the projects. It would be nice...

A student and I were discussing their late projects and, when we looked at the submissions, they were only a couple of hours late. I should augment the grade reports...

Several students have been confused by the "errors" reported by IntelliJ related to the undefined `grader` and `haltOnFailingCoverage` properties referenced in the `grader` Maven profile. I should investigate if I...

I've started using the "given/when/then" language more in the class when it comes to brainstorming test cases for the katas and projects. I should explore the feasibility of adding full-on...