You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... and also improve (bst) VM (and introduce BstPreviewLayout)
* Move PreviewLayout to org.jabref.logic.preview
* Modernize code of (bst) VM
* Add IEEEtran.bst
* Introduce BstPreviewLayout
* Fix Bst.g to allow "_" as identifier
* Fix quotes and other output of IEEEtran.bst
* Use public final instead of getters
# Use `public final` instead of getters to offer access to immutable variables
2
+
3
+
## Context and Problem Statement
4
+
5
+
When making immutable data accessible in a java class, should it be using getters or by non-modifiable fields?
6
+
7
+
## Considered Options
8
+
9
+
* Offer public static field
10
+
* Offer getters
11
+
12
+
## Decision Outcome
13
+
14
+
Chosen option: "Offer public static field", because getters used to be a convention which was even more manifested due to libraries depending on the existence on getters/setters. In the case of immutable variables, adding public getters is just useless since one is not hiding anything.
15
+
16
+
### Positive Consequences
17
+
18
+
* Shorter code
19
+
20
+
### Negative Consequences
21
+
22
+
* new comers could get confused, because getters/setters are still teached
assertEquals("T. Diez, \"Slice theorem for fréchet group actions and covariant symplectic field theory\" May 2014.", preview);
52
+
}
53
+
54
+
privatestaticBibEntrygetSliceTheoremPaper() {
55
+
returnnewBibEntry(StandardEntryType.Article)
56
+
.withField(StandardField.AUTHOR, "Tobias Diez")
57
+
.withField(StandardField.TITLE, "Slice theorem for Fréchet group actions and covariant symplectic field theory")
58
+
.withField(StandardField.DATE, "2014-05-09")
59
+
.withField(StandardField.ABSTRACT, "A general slice theorem for the action of a Fr\\'echet Lie group on a Fr\\'echet manifolds is established. The Nash-Moser theorem provides the fundamental tool to generalize the result of Palais to this infinite-dimensional setting. The presented slice theorem is illustrated by its application to gauge theories: the action of the gauge transformation group admits smooth slices at every point and thus the gauge orbit space is stratified by Fr\\'echet manifolds. Furthermore, a covariant and symplectic formulation of classical field theory is proposed and extensively discussed. At the root of this novel framework is the incorporation of field degrees of freedom F and spacetime M into the product manifold F * M. The induced bigrading of differential forms is used in order to carry over the usual symplectic theory to this new setting. The examples of the Klein-Gordon field and general Yang-Mills theory illustrate that the presented approach conveniently handles the occurring symmetries.")
0 commit comments