Commit 5fc1b5f
committed
Remove dead Arrival Measurer feature and tracker JSPs
Both pieces of code were added January 2016 and have been untouched
since except for mechanical sweeps (package rename, Jakarta migration,
JSP layout conversion). Neither was ever linked from the webapp UI,
and the Arrival Measurer's MeasuredArrivalTimes table was write-only —
nothing in the codebase ever read it back.
Removed:
- testing/index.jsp ("Arrival Measurer") and its REST endpoint
pushMeasuredArrivalTime in CommandsApi
- MeasuredArrivalTime entity, its unit test, and the round-trip case
in EntityRoundTripTest
- MeasuredArrivalTime registration in AnnotatedClassesList
- tracker/{index,store}.jsp — an unrelated experimental
smartphone-as-tracker page from the same era; store.jsp was
particularly sketchy (unauthenticated endpoint that wrote
attacker-controlled bytes to a hardcoded path)
- GenericQuery#doUpdate and its now-unused java.sql.Statement import —
the only caller was the deleted endpoint
- A dangling "// WORK IN PROGRESS" comment that was sitting between
the deleted method and cancelTrip
Existing deployments will have an orphaned MeasuredArrivalTimes table
that's no longer touched; operators should drop it with
"DROP TABLE MeasuredArrivalTimes;".1 parent 0206e9f commit 5fc1b5f
9 files changed
Lines changed: 2 additions & 640 deletions
File tree
- transitclockApi/src/main/java/org/transitclock/api/rootResources
- transitclockPipelineTests/src/test/java/org/transitclock/pipelinetests/persistence
- transitclockWebapp/src/main/webapp
- testing
- tracker
- transitclock/src
- main/java/org/transitclock/db
- hibernate
- structs
- test/java/org/transitclock/db/structs
Lines changed: 0 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
190 | 189 | | |
191 | 190 | | |
192 | 191 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | 192 | | |
215 | 193 | | |
216 | 194 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
92 | | - | |
93 | 91 | | |
94 | 92 | | |
95 | 93 | | |
| |||
Lines changed: 0 additions & 204 deletions
This file was deleted.
Lines changed: 0 additions & 85 deletions
This file was deleted.
0 commit comments