diff --git a/lib/jsduck/doc_formatter.rb b/lib/jsduck/doc_formatter.rb index f5ad5f6b7d06160f87be39580b62e374b1cc823f..96e65236ade21aa2e31cc3df22074558981fc2f7 100644 --- a/lib/jsduck/doc_formatter.rb +++ b/lib/jsduck/doc_formatter.rb @@ -162,12 +162,6 @@ module JsDuck return text end - ms = ms.find_all {|m| !m[:private] } - if ms.length == 0 - Logger.instance.warn(:link_private, "#{input} links to private member", file, line) - return text - end - if ms.length > 1 # When multiple public members, see if there remains just # one when we ignore the static members. If there's more, diff --git a/lib/jsduck/logger.rb b/lib/jsduck/logger.rb index 5b7701dc550a36c2236690ceb8a7d17491000d8c..c5da78c6b60db11332795c6689791ad5a4b2f681 100644 --- a/lib/jsduck/logger.rb +++ b/lib/jsduck/logger.rb @@ -17,7 +17,6 @@ module JsDuck [:inheritdoc, "@inheritdoc referring to unknown class or member"], [:extend, "@extend or @mixin referring to unknown class"], [:link, "{@link} to unknown class or member"], - [:link_private, "{@link} to private member"], [:link_ambiguous, "{@link} is ambiguous"], [:link_auto, "Auto-detected link to unknown class or member"],