diff options
author | James Moger <james.moger@gitblit.com> | 2011-07-22 09:37:14 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-07-22 09:37:14 -0400 |
commit | 88598bb2f779b73479512d818c675dea8fa72138 (patch) | |
tree | 77e1a8e89da1faa3444f03aefa8a201f77010e9e /src/com/gitblit/utils/PatchFormatter.java | |
parent | 0d3e3ca5b85d7e81066030a5081ea3a9cbe76607 (diff) | |
download | gitblit-88598bb2f779b73479512d818c675dea8fa72138.tar.gz gitblit-88598bb2f779b73479512d818c675dea8fa72138.zip |
Documentation. Unit testing. Checkstyle. Findbugs.
Diffstat (limited to 'src/com/gitblit/utils/PatchFormatter.java')
-rw-r--r-- | src/com/gitblit/utils/PatchFormatter.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/gitblit/utils/PatchFormatter.java b/src/com/gitblit/utils/PatchFormatter.java index 92559561..90b3fb16 100644 --- a/src/com/gitblit/utils/PatchFormatter.java +++ b/src/com/gitblit/utils/PatchFormatter.java @@ -115,6 +115,10 @@ public class PatchFormatter extends DiffFormatter { return patch.toString();
}
+ /**
+ * Class that represents the number of insertions and deletions from a
+ * chunk.
+ */
private static class PatchTouple {
int insertions;
int deletions;
|