{"comment":{"position":3,"created_at":"2011-12-14T09:39:57Z","commit_id":"9f3ad59ee7db13f1d3fa13bb7659018b8baeb371","updated_at":"2011-12-14T09:39:57Z","user":{"gravatar_id":"58d2d521a45ae75ddf084dc530b647d4","id":647727,"url":"https://api.github.com/users/muuki88","login":"muuki88","avatar_url":"https://secure.gravatar.com/avatar/58d2d521a45ae75ddf084dc530b647d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Extract parts of code with a single purpose to a method. E.g\n\n```java\nprivate void openPerspective() {\n\ttry {\n\t\t\t\tPlatformUI.getWorkbench().showPerspective(\"de.lmu.ifi.dbs.medmon.medic.ui.default\",\n\t\t\t\t\t\tPlatformUI.getWorkbench().getActiveWorkbenchWindow());\n\t\t\t} catch (WorkbenchException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n}\n```","id":793225,"path":"de.lmu.ifi.dbs.medmon.medic.ui/src/de/lmu/ifi/dbs/medmon/medic/ui/wizard/TherapyResultWizard.java","line":161,"html_url":"https://github.com/knowing/Medmon/commit/9f3ad59ee7#commitcomment-793225","url":"https://api.github.com/repos/knowing/Medmon/comments/793225"}}