From 08f69da41a0dcb979cdc9fab576cc9f60c9df2aa Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Thu, 4 Dec 2014 12:48:05 -0600 Subject: [PATCH] Undo to_s methods --- lib/rex/java/serialization/model/reset.rb | 3 --- lib/rex/java/serialization/model/utf.rb | 4 ---- 2 files changed, 7 deletions(-) diff --git a/lib/rex/java/serialization/model/reset.rb b/lib/rex/java/serialization/model/reset.rb index f17e5dee3f..4dad63c27f 100644 --- a/lib/rex/java/serialization/model/reset.rb +++ b/lib/rex/java/serialization/model/reset.rb @@ -3,9 +3,6 @@ module Rex module Serialization module Model class Reset < Element - def to_s - 'TC_RESET' - end end end end diff --git a/lib/rex/java/serialization/model/utf.rb b/lib/rex/java/serialization/model/utf.rb index fc9cbf222a..16a46205a1 100644 --- a/lib/rex/java/serialization/model/utf.rb +++ b/lib/rex/java/serialization/model/utf.rb @@ -51,10 +51,6 @@ module Rex encoded end - - def to_s - contents - end end end end