equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
46 * deletion without notice.</b> |
46 * deletion without notice.</b> |
47 * |
47 * |
48 * @author Neal Gafter |
48 * @author Neal Gafter |
49 */ |
49 */ |
50 public class JavadocEnter extends Enter { |
50 public class JavadocEnter extends Enter { |
51 public static JavadocEnter instance0(Context context) { |
51 public static JavadocEnter instance(Context context) { |
52 Enter instance = context.get(enterKey); |
52 Enter instance = context.get(enterKey); |
53 if (instance == null) |
53 if (instance == null) |
54 instance = new JavadocEnter(context); |
54 instance = new JavadocEnter(context); |
55 return (JavadocEnter)instance; |
55 return (JavadocEnter)instance; |
56 } |
56 } |