[MAGNOLIA-503] Simplify extending ParagraphEditDialog Created: 25/Jul/05  Updated: 17/Mar/09  Resolved: 10/Aug/05

Status: Closed
Project: Magnolia
Component/s: templating
Affects Version/s: 2.1 Final
Fix Version/s: 2.1 Final

Type: Improvement Priority: Minor
Reporter: Michael Aemisegger Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

all


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

While extending ParagraphEditDialog, I noticed it would be easier and less redundant if the member 'paragraph' had a getter method.

BTW, I won't be offended if not all my patches get applied. I just try to report my findings.

Patch for revision 1139:

— originals/magnolia-2.1-SNAPSHOT/src/main/info/magnolia/module/admininterface/dialogs/ParagraphEditDialog.java 2005-07-13 17:15:08.000000000 +0200
+++ patched/magnolia-2.1-SNAPSHOT/src/main/info/magnolia/module/admininterface/dialogs/ParagraphEditDialog.java 2005-07-25 21:18:25.000000000 +0200
@@ -64,4 +64,11 @@

return para.getDialogContent();
}
+
+ /**
+ * @return Returns the paragraph.
+ */
+ public String getParagraph()

{ + return paragraph; + }

}



 Comments   
Comment by Philipp Bracher [ 28/Jul/05 ]

commited. Thanks

Generated at Mon Feb 12 03:18:04 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.