1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/.hgignore Fri Jun 17 11:45:25 2011 +0400
1.3 @@ -0,0 +1,20 @@
1.4 +regexp:.classpath
1.5 +regexp:.project
1.6 +glob:*target/*
1.7 +glob:*.settings/*
1.8 +glob:*.metadata/*
1.9 +glob:*/.manager*
1.10 +glob:lib/*
1.11 +
1.12 +syntax: regexp
1.13 +^ru\.nikitin\.cache\.filesystem/target$
1.14 +syntax: glob
1.15 +*target/*
1.16 +syntax: glob
1.17 +*target/*
1.18 +syntax: glob
1.19 +*target/*
1.20 +syntax: regexp
1.21 +^ru\.nikitin\.cache\.run/test-cache$
1.22 +syntax: regexp
1.23 +\.xml$
1.24 \ No newline at end of file
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/ru.alpha.ltg.cards/pom.xml Fri Jun 17 11:45:25 2011 +0400
2.3 @@ -0,0 +1,43 @@
2.4 +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2.5 + <modelVersion>4.0.0</modelVersion>
2.6 + <groupId>ru.alpha.ltg</groupId>
2.7 + <artifactId>cards</artifactId>
2.8 + <packaging>jar</packaging>
2.9 + <version>0.01-SNAPSHOT</version>
2.10 + <name>Cache</name>
2.11 + <build>
2.12 + <plugins>
2.13 + <plugin>
2.14 + <groupId>org.apache.maven.plugins</groupId>
2.15 + <artifactId>maven-compiler-plugin</artifactId>
2.16 + <configuration>
2.17 + <source>1.6</source>
2.18 + <target>1.6</target>
2.19 + <encoding>UTF-8</encoding>
2.20 + </configuration>
2.21 + </plugin>
2.22 + <plugin>
2.23 + <artifactId>maven-source-plugin</artifactId>
2.24 + <configuration>
2.25 + <attach>true</attach>
2.26 + </configuration>
2.27 + <executions>
2.28 + <execution>
2.29 + <phase>generate-sources</phase>
2.30 + <goals>
2.31 + <goal>jar</goal>
2.32 + </goals>
2.33 + </execution>
2.34 + </executions>
2.35 + </plugin>
2.36 + </plugins>
2.37 + </build>
2.38 + <dependencies>
2.39 + <dependency>
2.40 + <groupId>junit</groupId>
2.41 + <artifactId>junit</artifactId>
2.42 + <version>4.8.2</version>
2.43 + <scope>test</scope>
2.44 + </dependency>
2.45 + </dependencies>
2.46 +</project>
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/ru.alpha.ltg.cards/src/test/java/ru/alpha/ltg/cards/I.java Fri Jun 17 11:45:25 2011 +0400
3.3 @@ -0,0 +1,21 @@
3.4 +package ru.alpha.ltg.cards;
3.5 +
3.6 +import java.util.Map;
3.7 +
3.8 +import ru.alpha.ltg.cards.api.ICard;
3.9 +
3.10 +public class I implements ICard
3.11 +{
3.12 +
3.13 + @Override
3.14 + public int returnValue(Map<String, Integer> values)
3.15 + {
3.16 + Integer x = values.get("x");
3.17 + if (x == null)
3.18 + {
3.19 + return 0;
3.20 + }
3.21 + return x;
3.22 + }
3.23 +
3.24 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/ru.alpha.ltg.cards/src/test/java/ru/alpha/ltg/cards/api/ICard.java Fri Jun 17 11:45:25 2011 +0400
4.3 @@ -0,0 +1,8 @@
4.4 +package ru.alpha.ltg.cards.api;
4.5 +
4.6 +import java.util.Map;
4.7 +
4.8 +public interface ICard
4.9 +{
4.10 + public int returnValue(Map<String, Integer> values);
4.11 +}
5.1 Binary file ru.alpha.ltg.cards/target/cards-0.01-SNAPSHOT-sources.jar has changed
6.1 Binary file ru.alpha.ltg.cards/target/test-classes/ru/alpha/ltg/cards/I.class has changed
7.1 Binary file ru.alpha.ltg.cards/target/test-classes/ru/alpha/ltg/cards/api/ICard.class has changed