Skip to content

Commit

Permalink
shuffled to make IDEA project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarthalloway committed Aug 22, 2008
1 parent e7cb007 commit 8e0d9f4
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 14 deletions.
File renamed without changes.
18 changes: 18 additions & 0 deletions scala/java-next-scala.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<module relativePaths="true" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="Scala" name="Scala">
<configuration />
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="library" name="scala-2.7.1.final" level="application" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

11 changes: 0 additions & 11 deletions scala/retry.scala

This file was deleted.

4 changes: 2 additions & 2 deletions scala/BlankWrapper.scala → scala/src/BlankWrapper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
class CharWrapper(ch: Char) {
def isWhitespace = Character.isWhitespace(ch)
}
implicit def charWrapper(ch: Character) = new CharWrapper(ch)
//implicit def charWrapper(ch: Character) = new CharWrapper(ch)
class BlankWrapper(s: String) {
def isBlank = s.isEmpty || s.forall(ch => ch.isWhitespace)
}
implicit def stringWrapper(s: String) = new BlankWrapper(s)
//implicit def stringWrapper(s: String) = new BlankWrapper(s)
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion scala/swing2.scala → scala/src/swing2.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import javax.swing._
import java.awt.event.{ActionEvent, ActionListener}

object HelloWorld extends JFrame("Hello Swing") {
object HelloWorld2 extends JFrame("Hello Swing") {
def showButtonMessage(msg: String) =
JOptionPane.showMessageDialog(null, String.format("""<html>Hello from <b>Scala</b>. Button %s pressed""", Array(msg)));

Expand Down
File renamed without changes.

0 comments on commit 8e0d9f4

Please sign in to comment.