Remove incorrect explanation of no matching method error

This commit is contained in:
Peter Badida 2019-01-03 21:23:49 +01:00 committed by GitHub
parent 6a59b4eb06
commit 6f49798bd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -993,10 +993,6 @@ cdef class JavaMultipleMethod(object):
scores.append((score, signature))
if not scores:
# @tito:
# if the java was waiting for an Object, and you didn't
# pass any of the PythonJavaClass, JavaClass, JavaObject,
# basestring, then it doesn't score it, and it won't work
raise JavaException('No methods matching your arguments')
scores.sort()
score, signature = scores[-1]