#10 new
Brendan W. McAdams

Fix Type Erasure Warnings in Build

Reported by Brendan W. McAdams | July 29th, 2010 @ 02:20 PM | in 1.1

[warn] /Users/bwmcadams/code/oss/novus/casbah/src/main/scala/mongodb/MongoCollection.scala:353: non variable type-argument String in type pattern Map[String,Any] is unchecked since it is eliminated by erasure [warn] case map: Map[String, Any] => { [warn] ^ [warn] /Users/bwmcadams/code/oss/novus/casbah/src/main/scala/mongodb/MongoCollection.scala:373: non variable type-argument String in type pattern Map[String,Any] is unchecked since it is eliminated by erasure [warn] case map: Map[String, Any] => { [warn] ^ [warn] two warnings found

This cannot be converted to , as it causes some false runtime assumptions.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Formerly known as "mongo-scala-wrappers". A series of wrappers and DSL-like functionality for utilizing MongoDB from within Scala. This currently utilises the very Java-oriented Mongo Java driver, and attempts to provide more scala-like functionality on top of it. The current (latest) version has been tested against MongoDB 1.4.x, with the 2.0 Java Driver (not all 2.0 driver features are wired in yet, as development began against 1.x). Your Mileage May Vary. See the docs and test classes for information on best practices and functionality. This work is open sourced by Novus Partners, Inc. <http://novus.com> under the Apache License v2.

Shared Ticket Bins

People watching this ticket

Tags

Pages