{"id":70,"date":"2012-03-28T12:03:19","date_gmt":"2012-03-28T11:03:19","guid":{"rendered":"http:\/\/www.flamingpenguin.co.uk\/blog\/?p=70"},"modified":"2012-03-28T12:03:19","modified_gmt":"2012-03-28T11:03:19","slug":"refactoring-ideas-replace-static-method","status":"publish","type":"post","link":"https:\/\/www.flamingpenguin.co.uk\/blog\/2012\/03\/28\/refactoring-ideas-replace-static-method\/","title":{"rendered":"Refactoring Ideas: Replace static method"},"content":{"rendered":"<p>Replace all calls to one static method with calls to another static method (can be done by replacing the implementation then doing an &#8220;inline&#8221;, but it could be one command). For example, this would be useful when replacing one utility library (bespoke) with another (commons-lang).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Replace all calls to one static method with calls to another static method (can be done by replacing the implementation then doing an &#8220;inline&#8221;, but it could be one command). For example, this would be useful when replacing one utility &hellip; <a href=\"https:\/\/www.flamingpenguin.co.uk\/blog\/2012\/03\/28\/refactoring-ideas-replace-static-method\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,31],"tags":[],"class_list":["post-70","post","type-post","status-publish","format-standard","hentry","category-java","category-refactoring"],"_links":{"self":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts\/70","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":0,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}