mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
6964914: javadoc does not output number of warnings using user written doclet
Reviewed-by: bpatel
This commit is contained in:
parent
75c64565c4
commit
9365637c4a
11 changed files with 425 additions and 12 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 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
|
||||
|
@ -322,6 +322,7 @@ public class RootDocImpl extends DocImpl implements RootDoc {
|
|||
/**
|
||||
* Do lazy initialization of "documentation" string.
|
||||
*/
|
||||
@Override
|
||||
protected String documentation() {
|
||||
if (documentation == null) {
|
||||
int cnt = options.length();
|
||||
|
@ -348,6 +349,7 @@ public class RootDocImpl extends DocImpl implements RootDoc {
|
|||
* Return the source position of the entity, or null if
|
||||
* no position is available.
|
||||
*/
|
||||
@Override
|
||||
public SourcePosition position() {
|
||||
JavaFileObject path;
|
||||
return ((path = getOverviewPath()) == null) ?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue