Changeset 7114 for lang/scala/sandbox
- Timestamp:
- 02/25/08 02:42:17 (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/scala/sandbox/src/jp/gr/java_conf/mizu/io/IO.scala
r6510 r7114 85 85 } 86 86 87 class Resource[T <: { def close() }](resource :T) { 88 def foreach[V](block : T => V) :V = { 89 try { 90 block(resource) 91 } finally { 92 resource.close 93 } 94 } 95 } 96 87 97 implicit def toFilenameFilter(filter :(File, String) => Boolean) = { 88 98 new FilenameFilter {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)