Vavr: Tuple cleanup

Created on 4 Sep 2016  路  8Comments  路  Source: vavr-io/vavr

To be done before 2.1.0 release

We added static Tuple*.sequence() methods. These should be moved to Tuple instead.

Minor: We added Tuple_.append() and Tuple_.prepend(). These should be reordered alphabetically within the files.

desigrefactorinimprovement 芦vavr-core禄

All 8 comments

@danieldietrich Can I work on this? :)

Yes, that would be great! You are familiar with the code generator (Generator.scala), right?

@danieldietrich Yes, Once I make the changes - I just need to run the gen code right?

@danieldietrich How do I run the code in Generator.scala ?

just build the app IIRC: mvn install and it'll regenerate the generated code.

mvn install also runs tests and benchmarks.
For your purposes mvn generate-sources is enough

Yes, I also do a clean. Choose one of these:

  • mvn clean generate-sources for fast results
  • mvn clean compile to see if your generate code does compile
  • mvn clean test to see if the unit tests still run after applying changes

Before pushing to Github we should also do a

  • mvn javadoc:javadoc to see, if the doclint complains

Fixed with #1559

Was this page helpful?
0 / 5 - 0 ratings