mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7021650: fix Context issues
Reviewed-by: mcimadamore
This commit is contained in:
parent
6d172a6a63
commit
a51962066d
15 changed files with 310 additions and 65 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2001, 2008, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -48,10 +48,10 @@ public class JavadocEnter extends Enter {
|
|||
return (JavadocEnter)instance;
|
||||
}
|
||||
|
||||
public static void preRegister(final Context context) {
|
||||
public static void preRegister(Context context) {
|
||||
context.put(enterKey, new Context.Factory<Enter>() {
|
||||
public Enter make() {
|
||||
return new JavadocEnter(context);
|
||||
public Enter make(Context c) {
|
||||
return new JavadocEnter(c);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue