diff options
author | michelou <michelou@epfl.ch> | 2004-07-19 14:02:18 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2004-07-19 14:02:18 +0000 |
commit | 9393649522ccfb35fdf2307aea89f6784ed99741 (patch) | |
tree | 0bad9a1b599b0911828476e23169e80f6564f3fa | |
parent | 42cdcee6a3cc085d8484cd807d0936497557ec6a (diff) | |
download | scala-9393649522ccfb35fdf2307aea89f6784ed99741.tar.gz scala-9393649522ccfb35fdf2307aea89f6784ed99741.tar.bz2 scala-9393649522ccfb35fdf2307aea89f6784ed99741.zip |
- corrected small errors in section "5.1.7 Attr...
- corrected small errors in section "5.1.7 Attributes".
-rw-r--r-- | doc/reference/ReferencePart.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/reference/ReferencePart.tex b/doc/reference/ReferencePart.tex index 9de79447a3..362f4045a8 100644 --- a/doc/reference/ReferencePart.tex +++ b/doc/reference/ReferencePart.tex @@ -2021,7 +2021,7 @@ object; it is not possible for clients to create objects of class Attributes associate meta-information with definitions. A simple attribute clause has the form $[C]$ or $[C(a_1 \commadots a_n)]$. Here, $c$ is a constructor of a class $C$, which must comform to the -class \lstinline@scala. Attribute@. All given constructor arguments +class \lstinline@scala.Attribute@. All given constructor arguments $a_1 \commadots a_n$ must be constant expressions. An attribute clause applies to the first definition or declaration following it. More than one attribute clause may precede a definition and declaration. The @@ -2049,7 +2049,7 @@ modifier in Java. \lstinline@Serializable@ \begin{quote}Marks a class to be serializable; this is -equivalent to inheritingfrom the +equivalent to inheriting from the \lstinline@java.io.Serializable@ interface in Java. \end{quote} @@ -2059,7 +2059,7 @@ in Java. \lstinline@long@ constant) to a class. This is equivalent to a the following field definition in Java: -\begin{lstlisting}[language=ScalaJava] +\begin{lstlisting}[language=Java] private final static SerialVersionUID = <longlit>; \end{lstlisting} \end{quote} |