Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Elena Shmoylova <eshmoylova@users.noreply.github.com>
  • Loading branch information
HansOlsson and eshmoylova committed Mar 14, 2024
1 parent 94b19aa commit 3fdffb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chapters/annotations.tex
Expand Up @@ -567,9 +567,9 @@ \subsection{Single Use of Class}\label{annotation-for-single-use-of-class}\label
/*literal*/ constant Boolean singleInstance;
\end{lstlisting}

The annotation \fmtannotationindex{singleInstance} if \lstinline!true! in a class indicates that there should only be one component instance of the class, and it should be in the same scope as the class is defined.
The annotation \fmtannotationindex{singleInstance}, if \lstinline!true!, in a class indicates that there should only be one component instance of the class, and it should be in the same scope as the class is defined.
The intent is to remove the class when the component is removed and to prevent duplication of the component.
If \lstinline!false! it has no impact.
If \lstinline!false!, it has no impact.

\subsection{Connection Restrictions}\label{connection-restrictions}

Expand Down Expand Up @@ -1315,7 +1315,7 @@ \section{Graphical User Interface}\label{annotations-for-the-graphical-user-inte
\end{lstlisting}%
\annotationindex{DocumentationClass}

Only allowed as class annotation on any kind of class and if set to \lstinline!true! implies that this class and all classes within it are treated as having the annotation \lstinline!preferredView = "info"!.
Only allowed as class annotation on any kind of class and, if set to \lstinline!true!, implies that this class and all classes within it are treated as having the annotation \lstinline!preferredView = "info"!.
If the annotation \lstinline!preferredView! is explicitly set for a class, it has precedence over a \lstinline!DocumentationClass! annotation.

\begin{nonnormative}
Expand Down

0 comments on commit 3fdffb9

Please sign in to comment.