Skip to content

Commit d4ea2cf

Browse files
committed
RubyMine's warning fixed
1 parent bad1586 commit d4ea2cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/ruby-debug-ide/xml_printer.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def print_trace(context, file, line)
298298
end
299299

300300
def print_at_line(context, file, line)
301-
print "<suspended file=\'%s\' line=\'%s\' threadId=\'%d\' frames=\'%d\'/>",
301+
print "<suspended file=\"%s\" line=\"%s\" threadId=\"%d\" frames=\"%d\"/>",
302302
File.expand_path(file), line, context.thnum, context.stack_size
303303
end
304304

@@ -344,6 +344,7 @@ def print(*params)
344344
end
345345

346346
def handle_binary_data(value)
347+
# noinspection RubyResolve
347348
return '[Binary Data]' if (value.respond_to?('is_binary_data?') && value.is_binary_data?)
348349
return '[Invalid encoding]' if (value.respond_to?('valid_encoding?') && !value.valid_encoding?)
349350
value

0 commit comments

Comments
 (0)