Skip to content

Commit 2c4ed46

Browse files
DellaBittachkuang-g
authored andcommitted
remove + from version2 string
1 parent d370ab8 commit 2c4ed46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/JarResolverLib/src/Google.JarResolver/Dependency.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public string Key { get {
193193
private static bool IsGreater(string version1, string version2) {
194194
version1 = version1.EndsWith("+") ?
195195
version1.Substring(0, version1.Length - 1) : version1;
196-
version2 = version1.EndsWith("+") ?
196+
version2 = version2.EndsWith("+") ?
197197
version2.Substring(0, version2.Length - 1) : version2;
198198
string[] version1Components = version1.Split('.');
199199
string[] version2Components = version2.Split('.');

0 commit comments

Comments
 (0)