diff --git a/ChangeLog b/ChangeLog index b4ae70ca8a..cc0867e71d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Aug 21 14:45:41 2014 SHIBATA Hiroshi + + * lib/e2mmap.rb: removed commented-out code. + Thu Aug 21 13:23:34 2014 SHIBATA Hiroshi * lib/rinda/ring.rb: split executable code into sample directory. diff --git a/lib/e2mmap.rb b/lib/e2mmap.rb index b75c431f92..47761bb398 100644 --- a/lib/e2mmap.rb +++ b/lib/e2mmap.rb @@ -142,8 +142,6 @@ module Exception2MessageMapper def E2MM.Raise(klass = E2MM, err = nil, *rest) if form = e2mm_message(klass, err) b = $@.nil? ? caller(1) : $@ - #p $@ - #p __FILE__ b.shift if b[0] =~ /^#{Regexp.quote(__FILE__)}:/ raise err, sprintf(form, *rest), b else @@ -157,7 +155,6 @@ module Exception2MessageMapper def E2MM.e2mm_message(klass, exp) for c in klass.ancestors if mes = @MessageMap[[c,exp]] - #p mes m = klass.instance_eval('"' + mes + '"') return m end