From 577f7b3b5462fdf84c0956a3bec5296bf7821677 Mon Sep 17 00:00:00 2001 From: ggregory Date: Thu, 25 May 2017 10:38:30 -0700 Subject: [PATCH] Add missing Javadoc. --- .../apache/commons/lang3/arch/Processor.java | 39 +++++++++++++++++-- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/arch/Processor.java b/src/main/java/org/apache/commons/lang3/arch/Processor.java index 1d03a8339..9f6b3db17 100644 --- a/src/main/java/org/apache/commons/lang3/arch/Processor.java +++ b/src/main/java/org/apache/commons/lang3/arch/Processor.java @@ -35,7 +35,21 @@ public class Processor { * */ public enum Arch { - BIT_32, BIT_64, UNKNOWN + + /** + * A 32-bit processor architecture. + */ + BIT_32, + + /** + * A 64-bit processor architecture. + */ + BIT_64, + + /** + * An unknown-bit processor architecture. + */ + UNKNOWN } /** @@ -49,14 +63,33 @@ public class Processor { * */ public enum Type { - X86, IA_64, PPC, UNKNOWN + + /** + * Intel x86 series of instruction set architectures. + */ + X86, + + /** + * Intel Itanium 64-bit architecture. + */ + IA_64, + + /** + * Apple–IBM–Motorola PowerPC architecture. + */ + PPC, + + /** + * Unknown architecture. + */ + UNKNOWN } private final Arch arch; private final Type type; /** - * Constructs a {@link Processor}object with the given + * Constructs a {@link Processor} object with the given * parameters. * * @param arch The processor architecture.