forked from justomiguel/java-bootcamp
-
Notifications
You must be signed in to change notification settings - Fork 0
update Topic 4 #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
melinaurruchua
wants to merge
1
commit into
master
Choose a base branch
from
Topic4
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <classpath> | ||
| <classpathentry kind="src" output="target/classes" path="src/main/java"> | ||
| <attributes> | ||
| <attribute name="optional" value="true"/> | ||
| <attribute name="maven.pomderived" value="true"/> | ||
| </attributes> | ||
| </classpathentry> | ||
| <classpathentry kind="src" output="target/test-classes" path="src/test/java"> | ||
| <attributes> | ||
| <attribute name="optional" value="true"/> | ||
| <attribute name="maven.pomderived" value="true"/> | ||
| </attributes> | ||
| </classpathentry> | ||
| <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"> | ||
| <attributes> | ||
| <attribute name="maven.pomderived" value="true"/> | ||
| </attributes> | ||
| </classpathentry> | ||
| <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | ||
| <attributes> | ||
| <attribute name="maven.pomderived" value="true"/> | ||
| </attributes> | ||
| </classpathentry> | ||
| <classpathentry kind="output" path="target/classes"/> | ||
| </classpath> |
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| !SESSION 2015-01-27 20:13:54.779 ----------------------------------------------- | ||
| eclipse.buildId=4.4.1.M20140925-0400 | ||
| java.version=1.7.0_72 | ||
| java.vendor=Oracle Corporation | ||
| BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_AR | ||
| Framework arguments: -product org.eclipse.epp.package.standard.product | ||
| Command-line arguments: -data /home/meli/shoppingCart -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.standard.product | ||
|
|
||
| !ENTRY org.eclipse.m2e.logback.configuration 2 0 2015-01-27 20:14:12.020 | ||
| !MESSAGE Exception while setting up logging:org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String | ||
| !STACK 0 | ||
| java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String | ||
| at org.eclipse.m2e.logback.configuration.LogHelper.logJavaProperties(LogHelper.java:26) | ||
| at org.eclipse.m2e.logback.configuration.LogPlugin.loadConfiguration(LogPlugin.java:189) | ||
| at org.eclipse.m2e.logback.configuration.LogPlugin.configureLogback(LogPlugin.java:144) | ||
| at org.eclipse.m2e.logback.configuration.LogPlugin.access$2(LogPlugin.java:107) | ||
| at org.eclipse.m2e.logback.configuration.LogPlugin$1.run(LogPlugin.java:62) | ||
| at java.util.TimerThread.mainLoop(Timer.java:555) | ||
| at java.util.TimerThread.run(Timer.java:505) |
1 change: 1 addition & 0 deletions
1
shoppingCart/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
Binary file added
BIN
+151 Bytes
shoppingCart/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index
Binary file not shown.
1 change: 1 addition & 0 deletions
1
shoppingCart/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
Binary file added
BIN
+81 Bytes
shoppingCart/.metadata/.plugins/org.eclipse.core.resources/.root/2.tree
Binary file not shown.
Binary file added
BIN
+590 Bytes
...gCart/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
...rt/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| eclipse.preferences.version=1 | ||
| version=1 |
8 changes: 8 additions & 0 deletions
8
...pingCart/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| eclipse.preferences.version=1 | ||
| org.eclipse.jdt.core.codeComplete.visibilityCheck=enabled | ||
| org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
| org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 | ||
| org.eclipse.jdt.core.compiler.compliance=1.7 | ||
| org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
| org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
| org.eclipse.jdt.core.compiler.source=1.7 |
2 changes: 2 additions & 0 deletions
2
...art/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.launching.prefs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| eclipse.preferences.version=1 | ||
| org.eclipse.jdt.launching.PREF_VM_XML=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\n<vmSettings defaultVM\="57,org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType13,1422389154535" defaultVMConnector\="">\n<vmType id\="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType">\n<vm id\="1422389154535" name\="java-7-jdk" path\="/usr/lib/jvm/java-7-jdk"/>\n</vmType>\n</vmSettings>\n |
14 changes: 14 additions & 0 deletions
14
shoppingCart/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| content_assist_number_of_computers=13 | ||
| content_assist_proposals_background=255,255,255 | ||
| content_assist_proposals_foreground=49,55,57 | ||
| eclipse.preferences.version=1 | ||
| fontPropagated=true | ||
| org.eclipse.jdt.ui.editor.tab.width= | ||
| org.eclipse.jdt.ui.formatterprofiles.version=12 | ||
| org.eclipse.jdt.ui.javadoclocations.migrated=true | ||
| org.eclipse.jface.textfont=1|Monospace|10.0|0|GTK|1|; | ||
| proposalOrderMigrated=true | ||
| spelling_locale_initialized=true | ||
| tabWidthPropagated=true | ||
| useAnnotationsPrefPage=true | ||
| useQuickDiffPrefPage=true |
2 changes: 2 additions & 0 deletions
2
...art/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.m2e.discovery.prefs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| eclipse.preferences.version=1 | ||
| org.eclipse.m2e.discovery.pref.projects= |
2 changes: 2 additions & 0 deletions
2
...ngCart/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| eclipse.preferences.version=1 | ||
| overviewRuler_migration=migrated_3.1 |
5 changes: 5 additions & 0 deletions
5
shoppingCart/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| PROBLEMS_FILTERS_MIGRATE=true | ||
| eclipse.preferences.version=1 | ||
| platformState=1413759378342 | ||
| quickStart=false | ||
| tipsAndTricks=true |
2 changes: 2 additions & 0 deletions
2
shoppingCart/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.prefs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| eclipse.preferences.version=1 | ||
| showIntro=false |
2 changes: 2 additions & 0 deletions
2
...Cart/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| PLUGINS_NOT_ACTIVATED_ON_STARTUP=org.eclipse.m2e.discovery; | ||
| eclipse.preferences.version=1 |
1,807 changes: 1,807 additions & 0 deletions
1,807
shoppingCart/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
shoppingCart/.metadata/.plugins/org.eclipse.equinox.p2.ui/dialog_settings.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <section name="Workbench"> | ||
| <section name="org.eclipse.equinox.internal.p2.ui.dialogs.InstallWizard.WizardSettings"> | ||
| <item value="862" key="DIALOG_WIDTH"/> | ||
| <item value="0" key="DIALOG_Y_ORIGIN"/> | ||
| <item value="619" key="DIALOG_HEIGHT"/> | ||
| <item value="541" key="DIALOG_X_ORIGIN"/> | ||
| <item value="1|Sans|9.0|0|GTK|1|" key="DIALOG_FONT_NAME"/> | ||
| </section> | ||
| </section> |
Binary file added
BIN
+4 Bytes
shoppingCart/.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache
Binary file not shown.
Binary file added
BIN
+4 Bytes
shoppingCart/.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache
Binary file not shown.
Binary file added
BIN
+4 Bytes
shoppingCart/.metadata/.plugins/org.eclipse.jdt.core/externalLibsTimeStamps
Binary file not shown.
Binary file added
BIN
+4 Bytes
shoppingCart/.metadata/.plugins/org.eclipse.jdt.core/invalidArchivesCache
Binary file not shown.
1 change: 1 addition & 0 deletions
1
shoppingCart/.metadata/.plugins/org.eclipse.jdt.core/javaLikeNames.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| java |
Binary file added
BIN
+4 Bytes
shoppingCart/.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache
Binary file not shown.
Binary file added
BIN
+129 Bytes
shoppingCart/.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
shoppingCart/.metadata/.plugins/org.eclipse.jdt.launching/.install.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
| <dirs> | ||
| <entry loc="/usr/lib/jvm/java-7-jdk" stamp="1420834658000"/> | ||
| </dirs> |
41 changes: 41 additions & 0 deletions
41
shoppingCart/.metadata/.plugins/org.eclipse.jdt.launching/libraryInfos.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
| <libraryInfos> | ||
| <libraryInfo home="/usr/lib/jvm/java-7-jdk/jre" version="1.7.0_72"> | ||
| <bootpath> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/resources.jar"/> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/rt.jar"/> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/sunrsasign.jar"/> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/jsse.jar"/> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/jce.jar"/> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/charsets.jar"/> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/jfr.jar"/> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/classes"/> | ||
| </bootpath> | ||
| <extensionDirs> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/ext"/> | ||
| <entry path="/usr/java/packages/lib/ext"/> | ||
| </extensionDirs> | ||
| <endorsedDirs> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/endorsed"/> | ||
| </endorsedDirs> | ||
| </libraryInfo> | ||
| <libraryInfo home="/usr/lib/jvm/java-7-jdk" version="1.7.0_72"> | ||
| <bootpath> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/resources.jar"/> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/rt.jar"/> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/sunrsasign.jar"/> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/jsse.jar"/> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/jce.jar"/> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/charsets.jar"/> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/jfr.jar"/> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/classes"/> | ||
| </bootpath> | ||
| <extensionDirs> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/ext"/> | ||
| <entry path="/usr/java/packages/lib/ext"/> | ||
| </extensionDirs> | ||
| <endorsedDirs> | ||
| <entry path="/usr/lib/jvm/java-7-jdk/jre/lib/endorsed"/> | ||
| </endorsedDirs> | ||
| </libraryInfo> | ||
| </libraryInfos> |
2 changes: 2 additions & 0 deletions
2
shoppingCart/.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
| <typeInfoHistroy/> |
2 changes: 2 additions & 0 deletions
2
shoppingCart/.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
| <qualifiedTypeNameHistroy/> |
16 changes: 16 additions & 0 deletions
16
shoppingCart/.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <section name="Workbench"> | ||
| <section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart"> | ||
| <item value="true" key="group_libraries"/> | ||
| <item value="false" key="linkWithEditor"/> | ||
| <item value="2" key="layout"/> | ||
| <item value="1" key="rootMode"/> | ||
| <item value="<?xml version="1.0" encoding="UTF-8"?>
<packageExplorer group_libraries="1" layout="2" linkWithEditor="0" rootMode="1" workingSetName="Aggregate for window 1422389070932">
<customFilters userDefinedPatternsEnabled="false">
<xmlDefinedFilters>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.LibraryFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.StaticsFilter" isEnabled="false"/>
<child filterId="org.eclipse.pde.ui.ExternalPluginLibrariesFilter1" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.FieldsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter" isEnabled="true"/>
<child filterId="org.eclipse.pde.ui.BinaryProjectFilter1" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter" isEnabled="true"/>
<child filterId="org.eclipse.m2e.MavenModuleFilter" isEnabled="false"/>
</xmlDefinedFilters>
</customFilters>
</packageExplorer>" key="memento"/> | ||
| </section> | ||
| <section name="completion_proposal_size"> | ||
| </section> | ||
| <section name="JavaElementSearchActions"> | ||
| </section> | ||
| <section name="quick_assist_proposal_size"> | ||
| </section> | ||
| </section> |
Empty file.
43 changes: 43 additions & 0 deletions
43
.../.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.5.0.20140606-0033.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| <configuration scan="true"> | ||
| <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
| <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> | ||
| <pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern> | ||
| </encoder> | ||
| <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> | ||
| <level>OFF</level> <!-- change to DEBUG to mimic '-consolelog' behaviour --> | ||
| </filter> | ||
| </appender> | ||
|
|
||
| <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | ||
| <File>${org.eclipse.m2e.log.dir}/0.log</File> | ||
| <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> | ||
| <FileNamePattern>${org.eclipse.m2e.log.dir}/%i.log</FileNamePattern> | ||
| <MinIndex>1</MinIndex> | ||
| <MaxIndex>10</MaxIndex> | ||
| </rollingPolicy> | ||
| <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> | ||
| <MaxFileSize>100MB</MaxFileSize> | ||
| </triggeringPolicy> | ||
| <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> | ||
| <pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern> | ||
| </encoder> | ||
| </appender> | ||
|
|
||
| <appender name="EclipseLog" class="org.eclipse.m2e.logback.appender.EclipseLogAppender"> | ||
| <filter class="ch.qos.logback.classic.filter.ThresholdFilter"> | ||
| <level>WARN</level> | ||
| </filter> | ||
| </appender> | ||
|
|
||
| <appender name="MavenConsoleLog" class="org.eclipse.m2e.logback.appender.MavenConsoleAppender"> | ||
| </appender> | ||
|
|
||
| <root level="INFO"> | ||
| <appender-ref ref="FILE" /> | ||
| <appender-ref ref="STDOUT" /> | ||
| <appender-ref ref="EclipseLog" /> | ||
| <appender-ref ref="MavenConsoleLog" /> | ||
| </root> | ||
|
|
||
| <logger name="com.ning.http.client" level="INFO" /> | ||
| </configuration> |
2 changes: 2 additions & 0 deletions
2
shoppingCart/.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| #Cached timestamps | ||
| #Tue Jan 27 20:15:34 GMT 2015 |
13 changes: 13 additions & 0 deletions
13
shoppingCart/.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <section name="Workbench"> | ||
| <section name="ChooseWorkspaceDialogSettings"> | ||
| <item value="36" key="DIALOG_Y_ORIGIN"/> | ||
| <item value="210" key="DIALOG_X_ORIGIN"/> | ||
| </section> | ||
| <section name="WORKBENCH_SETTINGS"> | ||
| <list key="ENABLED_TRANSFERS"> | ||
| </list> | ||
| </section> | ||
| <section name="ExternalProjectImportWizard"> | ||
| </section> | ||
| </section> |
19 changes: 19 additions & 0 deletions
19
shoppingCart/.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <section name="Workbench"> | ||
| <section name="org.eclipse.ui.internal.QuickAccess"> | ||
| <item value="855" key="dialogWidth"/> | ||
| <item value="480" key="dialogHeight"/> | ||
| <list key="orderedProviders"> | ||
| </list> | ||
| <list key="textArray"> | ||
| </list> | ||
| <list key="orderedElements"> | ||
| </list> | ||
| <list key="textEntries"> | ||
| </list> | ||
| </section> | ||
| <section name="NewWizardAction"> | ||
| </section> | ||
| <section name="ImportExportAction"> | ||
| </section> | ||
| </section> |
4 changes: 4 additions & 0 deletions
4
shoppingCart/.metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <workingSetManager> | ||
| <workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1422389070932_0" label="Window Working Set" name="Aggregate for window 1422389070932"/> | ||
| </workingSetManager> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| #Tue Jan 27 20:14:11 GMT 2015 | ||
| org.eclipse.core.runtime=2 | ||
| org.eclipse.platform=4.4.0.v20140925-0400 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <projectDescription> | ||
| <name>shoppingCart</name> | ||
| <comment></comment> | ||
| <projects> | ||
| </projects> | ||
| <buildSpec> | ||
| <buildCommand> | ||
| <name>org.eclipse.jdt.core.javabuilder</name> | ||
| <arguments> | ||
| </arguments> | ||
| </buildCommand> | ||
| <buildCommand> | ||
| <name>org.eclipse.m2e.core.maven2Builder</name> | ||
| <arguments> | ||
| </arguments> | ||
| </buildCommand> | ||
| </buildSpec> | ||
| <natures> | ||
| <nature>org.eclipse.jdt.core.javanature</nature> | ||
| <nature>org.eclipse.m2e.core.maven2Nature</nature> | ||
| </natures> | ||
| </projectDescription> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| eclipse.preferences.version=1 | ||
| encoding//src/main/java=UTF-8 | ||
| encoding//src/test/java=UTF-8 | ||
| encoding/<project>=UTF-8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| eclipse.preferences.version=1 | ||
| org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 | ||
| org.eclipse.jdt.core.compiler.compliance=1.5 | ||
| org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning | ||
| org.eclipse.jdt.core.compiler.source=1.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| activeProfiles= | ||
| eclipse.preferences.version=1 | ||
| resolveWorkspaceProjects=true | ||
| version=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| <?xml version="1.0"?> | ||
| <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
| <modelVersion>4.0.0</modelVersion> | ||
| <parent> | ||
| <groupId>com.mycompany.app</groupId> | ||
| <artifactId>app</artifactId> | ||
| <version>1.0-SNAPSHOT</version> | ||
| </parent> | ||
| <groupId>com.melina.app</groupId> | ||
| <artifactId>shoppingCart</artifactId> | ||
| <version>1.0-SNAPSHOT</version> | ||
| <name>shoppingCart</name> | ||
| <url>http://maven.apache.org</url> | ||
| <properties> | ||
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| </properties> | ||
| <dependencies> | ||
| <dependency> | ||
| <groupId>junit</groupId> | ||
| <artifactId>junit</artifactId> | ||
| <version>3.8.1</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| </dependencies> | ||
| </project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| package com.melina.app; | ||
|
|
||
| /** | ||
| * Shopping Cart | ||
| * | ||
| */ | ||
| public class App | ||
| { | ||
| public static void main( String[] args ) | ||
| { | ||
| System.out.println( "Shopping Cart " ); | ||
| IShoppingCart cart= new ShoppingCartProxy(new Cart()); | ||
| cart.addProduct("Mochila", "300"); | ||
| cart.addProduct("Zapatillas", "450"); | ||
| System.out.println(cart.showProducts()); | ||
| System.out.println(cart.getTotalCost()); | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| package com.melina.app; | ||
|
|
||
| import java.util.ArrayList; | ||
| import java.util.List; | ||
|
|
||
| public class Cart implements IShoppingCart{ | ||
| private List<Item> items; | ||
|
|
||
| public Cart(){ | ||
| items=new ArrayList<Item>(); | ||
| } | ||
| public void addProduct(String name, String cost) { | ||
| Item e=new Item(name, cost); | ||
| items.add(e); | ||
| } | ||
|
|
||
| public void removeProduct(String name) { | ||
| items.remove(items.indexOf(name)); | ||
| } | ||
|
|
||
| public String showProducts() { | ||
| String products=new String(); | ||
| for (Item i: items){ | ||
| products=products+i.getName()+" "; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Cuando se concatenan Strings en un loop es recomendable usar StringBuilder y no concatenar strings. |
||
| } | ||
| return products; | ||
| } | ||
|
|
||
| public double getTotalCost() { | ||
| double total=0; | ||
| for (Item i: items){ | ||
| total+=i.getCost(); | ||
| } | ||
| return total; | ||
| } | ||
|
|
||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deberias usar algun tipo de dato numerico para el costo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deberia ser addProduct(Item item). No tiene sentido pasarle los parametros uno por uno.