forked from scala/scala-xml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Google copyright to file header
The copyright should just be in the file header for the Elem and MetaData objects and classes, and not in their documentation. Currently, these copyright notices are showing up in the HTML api docs (scaladoc) for those elements. The rest of the library doesn't do this, so it's probably worth moving it out, rather than pasting copyright notices everywhere in the api docs for consistency. According to the original author of scala-xml, Burak Emir: The patch was built in 20% time while I was already working for Google, using Google's resources. The patch was formally reviewed and approved and Google is ok with it being part of Scala and people using, distributing, etc... it under the Scala license. That is why the copyright notice is there. See "committed to open source" in https://abc.xyz/investor/other/google-code-of-conduct.html
- Loading branch information
Showing
2 changed files
with
4 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ | |
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** | ||
** /____/\___/_/ |_/____/_/ | | ** | ||
** |/ ** | ||
** Copyright 2008 Google Inc. ** | ||
** All Rights Reserved. ** | ||
\* */ | ||
|
||
package scala | ||
|
@@ -14,9 +16,6 @@ package xml | |
* convenient construction and deconstruction. It is possible to deconstruct | ||
* any `Node` instance (that is not a `SpecialNode` or a `Group`) using the | ||
* syntax `case Elem(prefix, label, attribs, scope, child @ _*) => ...` | ||
* | ||
* Copyright 2008 Google Inc. All Rights Reserved. | ||
* @author Burak Emir <[email protected]> | ||
*/ | ||
object Elem { | ||
/** | ||
|
@@ -83,9 +82,6 @@ object Elem { | |
* @param minimizeEmpty `true` if this element should be serialized as minimized (i.e. "<el/>") when | ||
* empty; `false` if it should be written out in long form. | ||
* @param child the children of this node | ||
* | ||
* Copyright 2008 Google Inc. All Rights Reserved. | ||
* @author Burak Emir <[email protected]> | ||
*/ | ||
class Elem( | ||
override val prefix: String, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ | |
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** | ||
** /____/\___/_/ |_/____/_/ | | ** | ||
** |/ ** | ||
** Copyright 2008 Google Inc. ** | ||
** All Rights Reserved. ** | ||
\* */ | ||
|
||
package scala | ||
|
@@ -13,10 +15,6 @@ import Utility.sbToString | |
import scala.annotation.tailrec | ||
import scala.collection.AbstractIterable | ||
|
||
/** | ||
* Copyright 2008 Google Inc. All Rights Reserved. | ||
* @author Burak Emir <[email protected]> | ||
*/ | ||
object MetaData { | ||
/** | ||
* appends all attributes from new_tail to attribs, without attempting to | ||
|
@@ -78,9 +76,6 @@ object MetaData { | |
* | ||
* Namespace URIs are obtained by using the namespace scope of the element | ||
* owning this attribute (see `getNamespace`). | ||
* | ||
* Copyright 2008 Google Inc. All Rights Reserved. | ||
* @author Burak Emir <[email protected]> | ||
*/ | ||
abstract class MetaData | ||
extends AbstractIterable[MetaData] | ||
|