{"id":69,"date":"2012-03-28T12:00:59","date_gmt":"2012-03-28T11:00:59","guid":{"rendered":"http:\/\/www.flamingpenguin.co.uk\/blog\/?p=69"},"modified":"2012-03-28T12:00:59","modified_gmt":"2012-03-28T11:00:59","slug":"refactoring-ideas-move-static-methods-with-only-one-use-to-the-using-class","status":"publish","type":"post","link":"https:\/\/www.flamingpenguin.co.uk\/blog\/2012\/03\/28\/refactoring-ideas-move-static-methods-with-only-one-use-to-the-using-class\/","title":{"rendered":"Refactoring Ideas: Move static methods with only one use to the using class"},"content":{"rendered":"<p>If a static method has only one use, then it can be moved the class where it is being used and made private.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If a static method has only one use, then it can be moved the class where it is being used and made private.<\/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-69","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\/69","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=69"}],"version-history":[{"count":0,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts\/69\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=69"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=69"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=69"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}