diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-01-29 16:47:22 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-02-07 21:35:33 +0100 |
commit | aab3faa3cb43b4a854b5d094f1ef80eb39543bfb (patch) | |
tree | f5447a81a6c3a490b25dedd003b631f1db3a0164 /doc | |
parent | 95f73048ceb8ecd5ca2ae59d152d8c9101fff596 (diff) | |
download | lombok-aab3faa3cb43b4a854b5d094f1ef80eb39543bfb.tar.gz lombok-aab3faa3cb43b4a854b5d094f1ef80eb39543bfb.tar.bz2 lombok-aab3faa3cb43b4a854b5d094f1ef80eb39543bfb.zip |
Removed planned extension 'make @SneakyThrows not runtime dependent on lombok.jar' as we've fixed that by now. Also documented the preferred git workflow for working on lombok.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/PlannedExtensions.txt | 11 | ||||
-rw-r--r-- | doc/git-workflow.txt | 24 |
2 files changed, 24 insertions, 11 deletions
diff --git a/doc/PlannedExtensions.txt b/doc/PlannedExtensions.txt index 63f1bceb..cdcb1602 100644 --- a/doc/PlannedExtensions.txt +++ b/doc/PlannedExtensions.txt @@ -129,17 +129,6 @@ The return type should probably be `Iterable<Integer>` instead, which would work bytecode rewrite based generators use a superclass type named 'Generator' and use this to support a method that returns X, but which when called from the outside returns Iterable<X>. -## @SneakyThrows - -We currently generate: - try { /* method body */ } catch ( SneakyThrownType t ) { throw Lombok.sneakyThrow(t); } - -Which also means that usage of SneakyThrows creates a runtime dependency on lombok.jar. When lombok supports -class file rewriting, we should replace the entire try statement with just 'method body' again, as the JVM -does not care about checked exceptions. This also removes the runtime dependency. - -SneakyThrows also needs to be extended to fields and local variable declarations (it would apply to the initialization). - ## @Finalizer Creates a new unique (serializable?) anonymous inner class based object that has a finalizer which will call the diff --git a/doc/git-workflow.txt b/doc/git-workflow.txt new file mode 100644 index 00000000..e95b0597 --- /dev/null +++ b/doc/git-workflow.txt @@ -0,0 +1,24 @@ +# git workflow for Project Lombok + +public branch 'master' tracks major releases and should always be in an effectively working condition. It is updated only occasionally, and virtually always just points at a particularly stable point on the more dynamic 'develop' branch. + +public branch 'develop' is still intended to run more or less stable, but is less tested and is what developers check completed features into. + +Each version release is accompanied by a tag. + +To develop a new feature, no matter how trivial: + + git checkout develop # start from branch 'develop' + git checkout -b fixFoobar # Create a new branch for yourself + ..... # write and commit stuff + git checkout develop # go back to develop to update it + git pull # update develop + git checkout fixFoobar + git rebase develop # Rewrite fixFoobar's history as if it was written according to latest 'develop' state. + git checkout develop + git merge fixFoobar # Update your version of 'develop' to include your fixes. + git branch -d fixFoobar # delete your branch name + git push # push changes up to github repo + +Major features might be turned into public branches, and will be merged and not rebased. + |