forked from rilling/OpenTracks-Winter-SOEN-6431_2024
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation. #4
Comments
VishalPeruma1
added a commit
that referenced
this issue
Feb 11, 2024
fix: issue #4, adding comment to empty class.
parsa-mre
pushed a commit
that referenced
this issue
Apr 7, 2024
Removal of Empty statements in ChartView.java
parsa-mre
pushed a commit
that referenced
this issue
Apr 7, 2024
parsa-mre
pushed a commit
that referenced
this issue
Apr 7, 2024
Issue #4 is solved by using a more specific exception, such as Unsupp…
parsa-mre
pushed a commit
that referenced
this issue
Apr 7, 2024
Replace "replaceAll()" by a call to the "replace()" method.
VishalPeruma1
pushed a commit
that referenced
this issue
Apr 26, 2024
Added Shortest wait at chairlift Widget
VishalPeruma1
pushed a commit
that referenced
this issue
Apr 26, 2024
1. Updated string.xml to fix error in screenshot #1 (src\main\res\values\strings.xml) 2. Updated build.gradle to fix error in screenshot #2 (src\main\res\layout\fragment_runs_stat.xml) 3. Updated src\main\java\de\dennisguse\opentracks\stats\TrackStatisticsUpdater.java to fix error in screenshot #3 4. Commented out code in src/main/java/de/dennisguse/opentracks/ui/aggregatedStatistics/SeasonStats/RunAndChairStatActivity.java and src/main/java/de/dennisguse/opentracks/ui/aggregatedStatistics/SeasonStats/SeasonStatActivity.java to fix error in screenshot #4 5. Commented out code in src/main/java/de/dennisguse/opentracks/ui/aggregatedStatistics/AggregatedStatisticsAdapter.java to fix error in screenshot #5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of Technical Debt:
The function is empty as there is no need for the ClockViewHolder to update its view every time there is a change. An empty method is generally considered bad practice and can lead to confusion, readability, and maintenance issues. To remedy that we give a comment explaining why it is empty.
Technical Debt Location
src/main/java/de/dennisguse/opentracks/viewmodels/ClockViewHolder.java
The text was updated successfully, but these errors were encountered: