Skip to content

Initial refactoring by Pazus #72

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

Merged
merged 7 commits into from
Feb 22, 2019
Merged

Conversation

Pazus
Copy link
Member

@Pazus Pazus commented Feb 10, 2019

updated jUnit to 5.4 version
made all possible properties final, others need additional refactoring
narrowed availability of test methods down to package-private as public is not needed nor recommended for jUnit 5 tests

@Pazus Pazus requested review from viniciusam and pesse February 10, 2019 08:39
made all possible properties final, others need additional refactoring
narrowed availability of test methods down to package-private as public is not needed nor recommended for jUnit 5 tests
@Pazus Pazus force-pushed the pazus-init-refactor branch from 09baf0f to 9fbee99 Compare February 10, 2019 09:04
Copy link
Member

@pesse pesse left a comment

Choose a reason for hiding this comment

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

Great changes, thanks a lot!


/** Simple class to parse utPLSQL Version-information and provide the separate version-numbers
*
* @author pesse
*/
public class Version implements Comparable<Version> {

public final static Version V3_0_0 = new Version("3.0.0", 3,0,0,null, true);
Copy link
Member

Choose a reason for hiding this comment

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

I love the known versions! Maybe we could put the exact build numbers here - in addition to 3.1.3 version

    public final static Version V3_0_2 = new Version("3.0.2", 3,0,2,938, true);
    public final static Version V3_0_3 = new Version("3.0.3", 3,0,3,1266, true);
    public final static Version V3_0_4 = new Version("3.0.4", 3,0,4,1372, true);
    public final static Version V3_1_0 = new Version("3.1.0", 3,1,0,1849, true);
    public final static Version V3_1_1 = new Version("3.1.1", 3,1,1,1868, true);
    public final static Version V3_1_2 = new Version("3.1.2", 3,1,2,2134, true);
    public final static Version V3_1_3 = new Version("3.1.3", 3,1,3,2398, true);
    private final static Map<String, Version> knownVersions =
            Stream.of(V3_0_0, V3_0_1, V3_0_2, V3_0_3, V3_0_4, V3_1_0, V3_1_1, V3_1_2, V3_1_3)

@Pazus Pazus merged commit 85b7b14 into utPLSQL:develop Feb 22, 2019
@Pazus Pazus deleted the pazus-init-refactor branch February 23, 2019 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants