Browse files

Update copyrights for work done in the new year.

  • Loading branch information...
1 parent c8e96a2 commit 87e2c1a8befbd619001454520ce630b84d219a27 @nbronson nbronson committed Jan 4, 2011
View
2 LICENSE.txt
@@ -1,4 +1,4 @@
-Copyright (c) 2009-2010 Stanford University, unless otherwise specified.
+Copyright (c) 2009-2011 Stanford University, unless otherwise specified.
All rights reserved.
Redistribution and use in source and binary forms, with or without
View
12 bin/fix_copyrights
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+cd `dirname $0`/..
+for f in `grep -l -r 2009-2010 src`; do
+ d=`git log -1 --date=short --no-notes -- $f | awk 'NR==3 {print $2}'`
+ y=`echo $d | sed 's/-.*//'`
+ if [ $y == 2011 ]; then
+ echo "updating copyright for $f"
+ sed 's/2009-2010/2009-2011/' $f > .tmp
+ mv .tmp $f
+ fi
+done
View
2 src/main/scala/scala/concurrent/stm/ccstm/AccessHistory.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm
package ccstm
View
2 src/main/scala/scala/concurrent/stm/ccstm/CCSTM.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm
package ccstm
View
2 src/main/scala/scala/concurrent/stm/ccstm/CCSTMExecutor.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm
package ccstm
View
2 src/main/scala/scala/concurrent/stm/ccstm/InTxnImpl.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm
package ccstm
View
2 src/main/scala/scala/concurrent/stm/ccstm/NonTxn.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm
package ccstm
View
2 src/main/scala/scala/concurrent/stm/ccstm/ReadSetBuilder.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm.ccstm
View
2 src/main/scala/scala/concurrent/stm/ccstm/TxnLevelImpl.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm
package ccstm
View
2 src/main/scala/scala/concurrent/stm/skel/AbstractInTxn.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm
package skel
View
2 src/test/scala/scala/concurrent/stm/CallbackSuite.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm
View
2 src/test/scala/scala/concurrent/stm/ContentionSuite.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm
View
2 src/test/scala/scala/concurrent/stm/FlipperSuite.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm
View
2 src/test/scala/scala/concurrent/stm/IsolatedRefSuite.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm
View
2 src/test/scala/scala/concurrent/stm/RelaxedValidationSuite.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm
View
2 src/test/scala/scala/concurrent/stm/TMapSuite.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm
View
2 src/test/scala/scala/concurrent/stm/TSetSuite.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm
View
2 src/test/scala/scala/concurrent/stm/TxnSuite.scala
@@ -1,4 +1,4 @@
-/* scala-stm - (c) 2009-2010, Stanford University, PPL */
+/* scala-stm - (c) 2009-2011, Stanford University, PPL */
package scala.concurrent.stm

0 comments on commit 87e2c1a

Please sign in to comment.