Skip to content
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

Fixed Compiler errors, updated to newest java version, updated travis, updated to newest featureIDE #53

Merged
merged 42 commits into from
Feb 18, 2021

Conversation

wurstbroteater
Copy link
Collaborator

@wurstbroteater wurstbroteater commented Dec 10, 2020

fixed #45
fixed #46
fixed #47
fixed #48
fixed #42
During the review, it became apparent that there problems concerning the code style and documentation. This caused the new issues #56 and #57

wurstbroteater and others added 26 commits November 25, 2020 14:27
This method has been deleted in FeatureIDE since this commit
FeatureIDE/FeatureIDE@b679c39#diff-02b7a28d524fe3c717b03a9621030e760993f27c394403d3d837e36e4c4489fa
Since there is no provision of a new method, it can be deleted.
fixed tthuem#48
Deleted setPossibleWords(...)
}

@Override public boolean supportsPartialFeatureProject() {
return false;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indent all over the place (tabsize = 8?)

Copy link
Collaborator

@h3ssto h3ssto Jan 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Edit by @pmbittner : Responding to this comment is impossible in Github. The same comment was made earlier here (#53 (comment)).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this has already been fixed, but Github doesn't track the changes for some reason

@h3ssto
Copy link
Collaborator

h3ssto commented Jan 14, 2021

@wurstbroteater @tcerny @jeremiaheinle Many of the requested changes have not been addressed, e.g. code style is still in an abysmal state, random lines are commented out, without any additional annotation.

.travis.yml Outdated Show resolved Hide resolved
wurstbroteater added a commit to tcerny/VariantSync that referenced this pull request Jan 16, 2021
.travis.yml Outdated Show resolved Hide resolved
Copy link
Collaborator

@h3ssto h3ssto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Short: I don't see any progress.

Code Style: (reference: https://google.github.io/styleguide/javaguide.html)

  • Indents are still quite often wild (please fix to tabsize = 4 spaces)
  • All optional brackets must be given to avoid ambiguity ("dangling else")
  • There is a plethora of undocumented magic strings and numbers, their purpose should be documented in form of a comment

-> If the style config is broken, then fix it.

General:

  • Many methods are overridden but empty. Please document this stubbing in issues, so that it can be addressed in the future.
  • Comment! Comment! Comment! Everything that is not self-explanatory should be commented, especially if it looks erroneous. There are over 40 stubbed methods, whose purpose is unclear.

}

@Override public boolean supportsPartialFeatureProject() {
return false;
Copy link
Collaborator

@h3ssto h3ssto Jan 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Edit by @pmbittner : Responding to this comment is impossible in Github. The same comment was made earlier here (#53 (comment)).

Comment on lines 28 to 29
return "A " + (type == Type.CONFIGURATION ? "configuration project" : "variant")
+ " does not exist in the workspace. " + getMessage();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK for now, please use StringBuilder in the future.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This problem will be addressed by the following issue #56

Comment on lines 20 to 21
public void addHandlerListener(IHandlerListener handlerListener) {
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is stubbing for futur work, please document in dedicated issue.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This problem will be addressed by the following issue #57

@h3ssto h3ssto self-requested a review January 29, 2021 09:49
@h3ssto
Copy link
Collaborator

h3ssto commented Jan 29, 2021

Please ping me, when this PR is ready to be reviewed again. Please also add the newly generated issues to the PR commit message.

@pmbittner pmbittner linked an issue Jan 29, 2021 that may be closed by this pull request
Copy link
Collaborator

@h3ssto h3ssto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finally, the golden sunshine of cleanly styled code has touched this battered code base. It is my delight, as his majesties reviewer, to approve this pull request and welcome it into its place in commit history.

Record screech

A few comments nevertheless:

  • There are still commented out methods, else-if-cases and other stuff in the code base, please clean them up when you encounter them
  • There are pros and cons for documenting the purpose of a method in Javadoc comments, please discuss with @pmbittner if this should be adopted from now on, to ease the learning curve for feature project participants and Paul himself.

@pmbittner pmbittner merged commit e00ae09 into tthuem:seproj_ulm_2020 Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade VariantSync to newest Eclipse and FeatureIDE version
5 participants