Clean up log4j-to-slf4j OSGi build.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1588798 13f79535-47bb-0310-9956-ffa450edef68
Delete empty package.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1588799 13f79535-47bb-0310-9956-ffa450edef68
Clarify split package in docs.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1588800 13f79535-47bb-0310-9956-ffa450edef68
Clean up log4j-slf4j-impl OSGi build.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1588801 13f79535-47bb-0310-9956-ffa450edef68
Move non-annotations from plugins package to plugins.util package.

  - This prevents a package split due to log4j-plugin-processor.
  - In preparation for moving these annotations to the 
  log4j-plugin-processor module.
  - All references to these classes have been updated to match the 
  correct packages (and added imports where necessary).

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1588804 13f79535-47bb-0310-9956-ffa450edef68
Move the rest of the plugin annotations.

  - All the @PluginFoo annotations are now housed in the 
  log4j-plugin-processor module.
  - log4j-core already depends on this :)

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1588809 13f79535-47bb-0310-9956-ffa450edef68
Update MarkerManager.

  - Remove unused imports.
  - Suppress static code analysis warning about call to System
  .arraycopy in synchronized context being slow (it shouldn't be).
  - Use for-each loops where possible.
  - Use varargs in contains method.
  - Add matching @Deprecated annotations.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1588824 13f79535-47bb-0310-9956-ffa450edef68
Add @Deprecated annotation.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1588827 13f79535-47bb-0310-9956-ffa450edef68
Fix deprecated warnings in log4j-api.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1588845 13f79535-47bb-0310-9956-ffa450edef68
Use final where possible.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1588848 13f79535-47bb-0310-9956-ffa450edef68
Simplify log4j-core bundle config.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1588849 13f79535-47bb-0310-9956-ffa450edef68
Performance enhancements.

  - Replaced for each loops with optimised for loops.
  - Added noinspection comments to said loops so I don't change them back accidentally later on.
  - Used final where possible.
  - Made some private methods static.
  - There's some duplicate code in this file I noticed, but I'm not going to refactor it just yet. Are there performance benefits or something?
  - Rearranged method parameters in one method to allow for varargs (style).

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1589014 13f79535-47bb-0310-9956-ffa450edef68
A StringIndexOutOfBounds exception could occur during property substitution.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1589024 13f79535-47bb-0310-9956-ffa450edef68
Update logging and javadocs.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1589411 13f79535-47bb-0310-9956-ffa450edef68
Update Marker javadocs.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1589420 13f79535-47bb-0310-9956-ffa450edef68
Update null handling.

  - Don't allow null Marker names. They won't work anyway due to the use of ConcurrentHashMap.
  - Update methods to throw NullPointerException instead of IllegalArgumentException to match updated javadocs.
  - Simplify equals and hashCode based on guaranteed non-nullity of marker name.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1589425 13f79535-47bb-0310-9956-ffa450edef68
Note a potential bug.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1589432 13f79535-47bb-0310-9956-ffa450edef68
Fix HTML in javadoc and update.

  - JDK 8 still has getCallerClass, but it's @Deprecated.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1589554 13f79535-47bb-0310-9956-ffa450edef68
Switch NPE to IAE.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1589555 13f79535-47bb-0310-9956-ffa450edef68
Remove bundle plugin from plugin processor.

  - Not really a bundle.
  - Can cause problems with split packages.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/log4j2/trunk@1590186 13f79535-47bb-0310-9956-ffa450edef68