Skip to content

Commit

Permalink
Update copyrights for work done in the new year.
Browse files Browse the repository at this point in the history
  • Loading branch information
nbronson committed Jan 4, 2011
1 parent c8e96a2 commit 87e2c1a
Show file tree
Hide file tree
Showing 18 changed files with 29 additions and 17 deletions.
2 changes: 1 addition & 1 deletion 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
Expand Down
12 changes: 12 additions & 0 deletions 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
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
@@ -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

Expand Down
@@ -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
Expand Down
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion 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

Expand Down
2 changes: 1 addition & 1 deletion 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

Expand Down
2 changes: 1 addition & 1 deletion 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

Expand Down
2 changes: 1 addition & 1 deletion 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

Expand Down
@@ -1,4 +1,4 @@
/* scala-stm - (c) 2009-2010, Stanford University, PPL */
/* scala-stm - (c) 2009-2011, Stanford University, PPL */

package scala.concurrent.stm

Expand Down
2 changes: 1 addition & 1 deletion 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

Expand Down
2 changes: 1 addition & 1 deletion 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

Expand Down
2 changes: 1 addition & 1 deletion 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

Expand Down

0 comments on commit 87e2c1a

Please sign in to comment.