Permalink
Browse files

Eliminate all Closure compiler warnings.

Create diff class in JS that looks the same as an array-based tuple.
  • Loading branch information...
NeilFraser committed Jun 18, 2018
1 parent 6ea48d6 commit cd60d246aecf871367313c7cf6dc8814af32c5e3
@@ -108,9 +108,9 @@ bool Patch::isNull() const {
/**
* Emmulate GNU diff's format.
* Emulate GNU diff's format.
* Header: @@ -382,8 +481,9 @@
* Indicies are printed as 1-based, not 0-based.
* Indices are printed as 1-based, not 0-based.
* @return The GNU diff string
*/
QString Patch::toString() {
@@ -128,9 +128,9 @@ public class Patch {
public int length2;
/**
* Emmulate GNU diff's format.
* Emulate GNU diff's format.
* Header: @@ -382,8 +481,9 @@
* Indicies are printed as 1-based, not 0-based.
* Indices are printed as 1-based, not 0-based.
* @return The GNU diff string.
*/
public override string ToString() {
@@ -36,9 +36,9 @@ class Patch {
}
/**
* Emmulate GNU diff's format.
* Emulate GNU diff's format.
* Header: @@ -382,8 +481,9 @@
* Indicies are printed as 1-based, not 0-based.
* Indices are printed as 1-based, not 0-based.
* Returns the GNU diff string.
*/
String toString() {
@@ -2405,9 +2405,9 @@ public Patch() {
}
/**
* Emmulate GNU diff's format.
* Emulate GNU diff's format.
* Header: @@ -382,8 +481,9 @@
* Indicies are printed as 1-based, not 0-based.
* Indices are printed as 1-based, not 0-based.
* @return The GNU diff string.
*/
public String toString() {

Large diffs are not rendered by default.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit cd60d24

Please sign in to comment.