Project

General

Profile

Actions

Task #4794

closed

duplicate code

Added by Alexey Demakov over 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
03/25/2014
Due date:
% Done:

100%

Estimated time:
Detected in build:
svn
Published in build:
0.15.197

Description

requality\src\java\com\unitesk\requality\eclipse\handlers\OpenReviewEditorHandler.java
requality\src\java\com\unitesk\requality\eclipse\handlers\OpenUniEditorHandler.java

метод execute() отличается только константой editorId. Предлагаю метод execute() вынести в общий базовый класс, editorId получать виртуальным методом, переопределенном в каждом наследнике.

Actions #1

Updated by Denis Kildishev over 10 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3509.

Actions #2

Updated by Denis Kildishev over 10 years ago

  • Published in build set to 0.15.197
Actions #3

Updated by Alexey Khoroshilov over 10 years ago

  • Target version set to 0.16
Actions #4

Updated by Alexey Khoroshilov almost 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF