<commit_before>package scala

/**
 * Useful imports that don't have wrappers.
 */
package object swing {
  type Point = java.awt.Point
  type Dimension = java.awt.Dimension
  type Rectangle = java.awt.Rectangle
  type Insets = java.awt.Insets

  type Graphics2D = java.awt.Graphics2D
  type Color = java.awt.Color
  type Image = java.awt.Image
  type Font = java.awt.Font

  protected[swing] def ifNull[A](o: Object, a: A): A = if(o eq null) a else o.asInstanceOf[A]
  protected[swing] def toOption[A](o: Object): Option[A] = if(o eq null) None else Some(o.asInstanceOf[A])
  protected[swing] def toAnyRef(x: Any): AnyRef = x.asInstanceOf[AnyRef]
}<commit_msg>Some minor scaladoc tweaks and deletion of inco...<commit_after>package scala

/**
 * Useful imports that don't have wrappers.
 */
package object swing {
  type Point = java.awt.Point
  type Dimension = java.awt.Dimension
  type Rectangle = java.awt.Rectangle
  type Insets = java.awt.Insets

  type Graphics2D = java.awt.Graphics2D
  type Color = java.awt.Color
  type Image = java.awt.Image
  type Font = java.awt.Font

  private[swing] def ifNull[A](o: Object, a: A): A = if(o eq null) a else o.asInstanceOf[A]
  private[swing] def toOption[A](o: Object): Option[A] = if(o eq null) None else Some(o.asInstanceOf[A])
  private[swing] def toAnyRef(x: Any): AnyRef = x.asInstanceOf[AnyRef]
}
{'fraction_non_alphanumeric': 0.12213175425610659, 'fraction_numerical': 0.0029607698001480384, 'mean_word_length': 4.026022304832714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '111014', 'n_tokens_mistral': 478, 'n_tokens_neox': 467, 'n_words': 137}