lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
f56cfc6233285b823204d2e05d548afc6853f7d0
0
RWTH-i5-IDSG/jamocha,RWTH-i5-IDSG/jamocha
/* * Copyright 2002-2014 The Jamocha Team * * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.jamocha.org/ * * Unless required by applicable law or agreed to in writin...
src/org/jamocha/languages/clips/parser/SFPVisitorImpl.java
/* * Copyright 2002-2014 The Jamocha Team * * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.jamocha.org/ * * Unless required by applicable law or agreed to in writin...
organized imports
src/org/jamocha/languages/clips/parser/SFPVisitorImpl.java
organized imports
<ide><path>rc/org/jamocha/languages/clips/parser/SFPVisitorImpl.java <ide> import java.util.EnumSet; <ide> import java.util.HashMap; <ide> import java.util.LinkedList; <del>import java.util.function.IntFunction; <ide> import java.util.stream.IntStream; <add>import java.util.stream.Stream; <ide> <ide> import org.jamoch...
Java
apache-2.0
02da06dd9f2d962e1db85d265b97ac3e269a60fd
0
apurtell/hadoop,apache/hadoop,steveloughran/hadoop,mapr/hadoop-common,mapr/hadoop-common,JingchengDu/hadoop,nandakumar131/hadoop,apurtell/hadoop,steveloughran/hadoop,plusplusjiajia/hadoop,wwjiang007/hadoop,lukmajercak/hadoop,lukmajercak/hadoop,lukmajercak/hadoop,JingchengDu/hadoop,apurtell/hadoop,apache/hadoop,stevelou...
hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/scm/TestContainerSQLCli.java
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright containerOwnership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "Licen...
HDDS-1222. Remove TestContainerSQLCli unit test stub. Contributed by Elek, Marton.
hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/scm/TestContainerSQLCli.java
HDDS-1222. Remove TestContainerSQLCli unit test stub. Contributed by Elek, Marton.
<ide><path>adoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/scm/TestContainerSQLCli.java <del>/** <del> * Licensed to the Apache Software Foundation (ASF) under one <del> * or more contributor license agreements. See the NOTICE file <del> * distributed with this work for additional information <del> * regarding...
Java
lgpl-2.1
dd6f82fc010213007d271e1836bdbdb4d6781d48
0
simoc/mapyrus,simoc/mapyrus,simoc/mapyrus
/* * This file is part of Mapyrus, software for plotting maps. * Copyright (C) 2003 Simon Chenery. * * Mapyrus is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2 of the License, or ...
src/org/mapyrus/dataset/DatasetFactory.java
/* * This file is part of Mapyrus, software for plotting maps. * Copyright (C) 2003 Simon Chenery. * * Mapyrus is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2 of the License, or ...
Add "grass" format.
src/org/mapyrus/dataset/DatasetFactory.java
Add "grass" format.
<ide><path>rc/org/mapyrus/dataset/DatasetFactory.java <ide> retval = new ShapefileDataset(name, extras); <ide> else if (type.equalsIgnoreCase("jdbc")) <ide> retval = new JDBCDataset(name, extras); <add> else if (type.equalsIgnoreCase("grass")) <add> retval = new GrassDataset(name, extras); <ide> else...
JavaScript
mit
8108205489005a9d7ceb4064b4f8a9e0eed12fe8
0
avinoamr/pluto,avinoamr/pluto
(function() { /** * PLUTO * Native HTML Template Rendering * * * The MIT License (MIT) * Copyright (c) 2013 Roi Avinoam * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without res...
pluto.js
(function() { /** * PLUTO * Native HTML Template Rendering * * * The MIT License (MIT) * Copyright (c) 2013 Roi Avinoam * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without res...
Remove obsolete code
pluto.js
Remove obsolete code
<ide><path>luto.js <ide> return new Renderer(content, exprs, items).render(obj) <ide> } <ide> <del> _renderIn(obj, el) { <del> if (el.__plutoRenderer) { <del> el.__plutoRenderer.render(obj) <del> } else { <del> var doc = this.render(obj) <del> el.replaceWit...
Java
apache-2.0
e71ae792234fee885cdfef21345e2b972a0bea5d
0
alien11689/aries,graben/aries,rotty3000/aries,apache/aries,rotty3000/aries,alien11689/aries,graben/aries,alien11689/aries,rotty3000/aries,graben/aries,graben/aries,apache/aries,rotty3000/aries,apache/aries,alien11689/aries,apache/aries
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"...
spi-fly/contrib/pilot_using_weavinghook/SpiFlyTests/src/org/apache/aries/spifly/ClientWeavingHookTest.java
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"...
Small test fix. git-svn-id: 212869a37fe990abe2323f86150f3c4d5a6279c2@1052209 13f79535-47bb-0310-9956-ffa450edef68
spi-fly/contrib/pilot_using_weavinghook/SpiFlyTests/src/org/apache/aries/spifly/ClientWeavingHookTest.java
Small test fix.
<ide><path>pi-fly/contrib/pilot_using_weavinghook/SpiFlyTests/src/org/apache/aries/spifly/ClientWeavingHookTest.java <ide> Class<?> cls = wc.getDefinedClass(); <ide> Method method = cls.getMethod("test", new Class [] {String.class}); <ide> Object result = method.invoke(cls.newInstance(), "hello"...
Java
apache-2.0
16b902a6ade0045e0711d269408786626d0fd9bd
0
motown-io/motown,pqtoan/motown
/** * Copyright (C) 2013 Motown.IO (info@motown.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
ocpp/v15-soap/src/main/java/io/motown/ocpp/v15/soap/centralsystem/MeasurandTranslator.java
/** * Copyright (C) 2013 Motown.IO (info@motown.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
Reduce cyclomatic complexity
ocpp/v15-soap/src/main/java/io/motown/ocpp/v15/soap/centralsystem/MeasurandTranslator.java
Reduce cyclomatic complexity
<ide><path>cpp/v15-soap/src/main/java/io/motown/ocpp/v15/soap/centralsystem/MeasurandTranslator.java <ide> return Measurand.IMPORTED_ACTIVE_ENERGY_REGISTER; <ide> } <ide> <add> Measurand result; <add> <ide> switch (this.measurand) { <ide> case ENERGY_ACTIVE_EXPORT_REGISTE...
Java
mit
7e04e060e23b28aa14a21c74d3b3a047dd339c3c
0
tkob/yokohamaunit,tkob/yokohamaunit
package yokohama.unit.translator; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.stream.Collectors; import java.util.stream.Stream; ...
src/main/java/yokohama/unit/translator/BcelJUnitAstCompiler.java
package yokohama.unit.translator; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.stream.Collectors; import java.util.stream.Stream; ...
Generate INVOKEINTERFACE for interface method invocation
src/main/java/yokohama/unit/translator/BcelJUnitAstCompiler.java
Generate INVOKEINTERFACE for interface method invocation
<ide><path>rc/main/java/yokohama/unit/translator/BcelJUnitAstCompiler.java <ide> import yokohama.unit.ast.Kind; <ide> import yokohama.unit.ast_junit.CatchClause; <ide> import yokohama.unit.ast_junit.CompilationUnit; <add>import yokohama.unit.ast_junit.InvokeExpr; <ide> import yokohama.unit.ast_junit.IsNotStatement; <id...
Java
apache-2.0
799a65c2acb6d89ca4b560b98c1565c4de58b1a0
0
marques-work/gocd,ketan/gocd,ketan/gocd,gocd/gocd,gocd/gocd,Skarlso/gocd,GaneshSPatil/gocd,Skarlso/gocd,ketan/gocd,marques-work/gocd,GaneshSPatil/gocd,Skarlso/gocd,gocd/gocd,gocd/gocd,ketan/gocd,marques-work/gocd,GaneshSPatil/gocd,marques-work/gocd,Skarlso/gocd,ketan/gocd,gocd/gocd,ketan/gocd,GaneshSPatil/gocd,gocd/goc...
/* * Copyright 2020 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
db-support/db-support-base/src/main/java/com/thoughtworks/go/server/database/h2/DefaultH2DataSource.java
/* * Copyright 2020 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Set default connection pool settings for h2 datasource #000 * DefaultH2DataSource maxIdle and maxTotal defaults to 32 connections. This is same as the defaults we had prior to adding support for multiple databases. * H2 db url no longer supports MVCC flag, hence removing it. Check H2 1.4.200 changelog - https://...
db-support/db-support-base/src/main/java/com/thoughtworks/go/server/database/h2/DefaultH2DataSource.java
Set default connection pool settings for h2 datasource #000
<ide><path>b-support/db-support-base/src/main/java/com/thoughtworks/go/server/database/h2/DefaultH2DataSource.java <ide> String defaultH2Url = "jdbc:h2:./db/h2db/cruise" + <ide> ";DB_CLOSE_DELAY=-1" + <ide> ";DB_CLOSE_ON_EXIT=FALSE" + // do not close the DB on JVM exit <del>// ...
Java
apache-2.0
df74971d64943f589559e6cdac2d4f606c5d76ae
0
Jonathan727/javarosa,Jonathan727/javarosa,Jonathan727/javarosa
package org.javarosa.core.model.instance; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.Enumeration; import java.util.Vector; import org.javarosa.core.model.Constants; import org.javarosa.core.model.FormElementStateListener; import org.javarosa...
javarosa/org.javarosa.core.model/src/org/javarosa/core/model/instance/TreeElement.java
package org.javarosa.core.model.instance; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.Enumeration; import java.util.Vector; import org.javarosa.core.model.Constants; import org.javarosa.core.model.FormElementStateListener; import org.javarosa...
[r2167] fix infinite loop!
javarosa/org.javarosa.core.model/src/org/javarosa/core/model/instance/TreeElement.java
[r2167] fix infinite loop!
<ide><path>avarosa/org.javarosa.core.model/src/org/javarosa/core/model/instance/TreeElement.java <ide> public TreeElement deepCopy (boolean includeTemplates) { <ide> TreeElement newNode = shallowCopy(); <ide> <add> newNode.children = null; <ide> for (int i = 0; i < getNumChildren(); i++) { <ide> TreeElement...
Java
agpl-3.0
13f6f1657b08053ffb026e500d56801eb6a430c5
0
phenotips/patient-network,phenotips/patient-network,phenotips/patient-network,phenotips/patient-network
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of...
matching-notification-api/src/main/java/org/phenotips/matchingnotification/storage/internal/DefaultMatchStorageManager.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of...
PN-123-matching-notification Rewrote DefaultMatchStorageManager.loadAllMatches() and loadMatchesByIds().
matching-notification-api/src/main/java/org/phenotips/matchingnotification/storage/internal/DefaultMatchStorageManager.java
PN-123-matching-notification Rewrote DefaultMatchStorageManager.loadAllMatches() and loadMatchesByIds().
<ide><path>atching-notification-api/src/main/java/org/phenotips/matchingnotification/storage/internal/DefaultMatchStorageManager.java <ide> <ide> @Override <ide> public List<PatientMatch> loadAllMatches() { <del> return loadMatchesByIds(null); <add> return this.loadMatchesByCriterion(null); <ide>...
Java
apache-2.0
54abac70b4e27e919c1960f8d1b924c6d0a1af8d
0
metaborg/spoofax,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax-eclipse
package org.strategoxt.imp.runtime.parser.ast; import static java.lang.Math.max; import static org.spoofax.jsglr.Term.applAt; import static org.spoofax.jsglr.Term.asAppl; import static org.spoofax.jsglr.Term.intAt; import static org.spoofax.jsglr.Term.isAppl; import static org.spoofax.jsglr.Term.isInt; import static o...
org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/parser/ast/AsfixImploder.java
package org.strategoxt.imp.runtime.parser.ast; import static java.lang.Math.max; import static org.spoofax.jsglr.Term.applAt; import static org.spoofax.jsglr.Term.asAppl; import static org.spoofax.jsglr.Term.intAt; import static org.spoofax.jsglr.Term.isAppl; import static org.spoofax.jsglr.Term.isInt; import static o...
minor refactoring svn path=/spoofax-imp/trunk/org.strategoxt.imp.runtime/; revision=20961
org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/parser/ast/AsfixImploder.java
minor refactoring
<ide><path>rg.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/parser/ast/AsfixImploder.java <ide> if (lexicalStart || isVar) { <ide> return setAnnos(createStringTerminal(lhs, rhs, attrs), appl.getAnnotations()); <ide> } else if (inLexicalContext) { <del> // Create separate tokens for >1 char layout lexic...
Java
mit
50c47f715ac3799f54a38a5306bd3e98a1c51a69
0
breadwallet/breadwallet-android,breadwallet/breadwallet-android,breadwallet/breadwallet-android,breadwallet/breadwallet-android
package com.breadwallet.tools.adapter; import android.app.Activity; import android.content.Context; import android.graphics.Typeface; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.util.TypedValue; import android.view.LayoutInflater; im...
app/src/main/java/com/breadwallet/tools/adapter/AddTokenListAdapter.java
package com.breadwallet.tools.adapter; import android.app.Activity; import android.content.Context; import android.graphics.Typeface; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.util.TypedValue; import android.view.LayoutInflater; im...
Fix DROID-698, sort add token list by symbol. Fix display to match mocks
app/src/main/java/com/breadwallet/tools/adapter/AddTokenListAdapter.java
Fix DROID-698, sort add token list by symbol. Fix display to match mocks
<ide><path>pp/src/main/java/com/breadwallet/tools/adapter/AddTokenListAdapter.java <ide> import com.breadwallet.tools.util.BRConstants; <ide> <ide> import java.util.ArrayList; <add>import java.util.Collections; <add>import java.util.Comparator; <ide> <ide> public class AddTokenListAdapter extends RecyclerView.Adapter...
Java
apache-2.0
a2f20ffce65f9a46036e6b34ea9a788aedc2ff54
0
rdoeffinger/DictionaryPC,rdoeffinger/DictionaryPC,rdoeffinger/DictionaryPC
package com.hughes.android.dictionary.parser.wiktionary; import com.hughes.android.dictionary.engine.EntryTypeName; import com.hughes.android.dictionary.engine.HtmlEntry; import com.hughes.android.dictionary.engine.IndexBuilder; import com.hughes.android.dictionary.engine.IndexBuilder.TokenData; import com.hughes.and...
src/com/hughes/android/dictionary/parser/wiktionary/WholeSectionToHtmlParser.java
package com.hughes.android.dictionary.parser.wiktionary; import com.hughes.android.dictionary.engine.EntryTypeName; import com.hughes.android.dictionary.engine.HtmlEntry; import com.hughes.android.dictionary.engine.IndexBuilder; import com.hughes.android.dictionary.engine.IndexBuilder.TokenData; import com.hughes.and...
Fix crash in dictionary generation for PT input.
src/com/hughes/android/dictionary/parser/wiktionary/WholeSectionToHtmlParser.java
Fix crash in dictionary generation for PT input.
<ide><path>rc/com/hughes/android/dictionary/parser/wiktionary/WholeSectionToHtmlParser.java <ide> public void addFunctionCallbacks( <ide> Map<String, FunctionCallback<WholeSectionToHtmlParser>> functionCallbacks) { <ide> // TODO: need Spanish variant <add> } <add> ...
Java
apache-2.0
e54fc8e665811a570f443030de46f7553bfda819
0
Dakror/Arise,Dakror/Arise
package de.dakror.arise.net; import java.io.File; import java.net.BindException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.SocketException; import java.net.URL; import java.text.SimpleDateFormat; import java.util.Arra...
src/main/java/de/dakror/arise/net/Server.java
package de.dakror.arise.net; import java.io.File; import java.net.BindException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.SocketException; import java.net.URL; import java.text.SimpleDateFormat; import java.util.Arra...
bugfix [ci skip]
src/main/java/de/dakror/arise/net/Server.java
bugfix [ci skip]
<ide><path>rc/main/java/de/dakror/arise/net/Server.java <ide> try <ide> { <ide> sendPacket(new Packet09BuildingStageChange(p.getBuildingId(), p.getCityId(), 2, timeleft), user); <add> sendPacket(new Packet05Resources(p.getCityId(), DBManager.getCityResources(p.getCityId())), user); <ide> ...
Java
mit
8634e4ffc18a0b434238b4ad6b1465855afdb49a
0
tndatacommons/android-app,Revenaunt/android-app,tndatacommons/android-grow-app,izzyalonso/android-app
package org.tndata.android.compass.adapter; import android.content.Context; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.animation.Anima...
src/main/java/org/tndata/android/compass/adapter/MyPrioritiesGoalAdapter.java
package org.tndata.android.compass.adapter; import android.content.Context; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.animation.Anima...
Bugfix: items with null URLs do not call the ImageLoader
src/main/java/org/tndata/android/compass/adapter/MyPrioritiesGoalAdapter.java
Bugfix: items with null URLs do not call the ImageLoader
<ide><path>rc/main/java/org/tndata/android/compass/adapter/MyPrioritiesGoalAdapter.java <ide> behaviorView.setItemHierarchy(new ItemHierarchy(mCategory, goal, behavior, null)); <ide> behaviorView.setLeftPadding(20); <ide> behaviorView.getTextView().setText(behavior.getTitle()); <del>...
Java
apache-2.0
13f439a19b219a0b0cb8fc40735a39d32bd71ca5
0
mtransitapps/ca-edmonton-ets-bus-parser
package org.mtransit.parser.ca_edmonton_ets_bus; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.regex.Pattern; import org.apache.commons.lang3.StringUtils; import org.mtransit.parser.CleanUtils; ...
src/org/mtransit/parser/ca_edmonton_ets_bus/EdmontonETSBusAgencyTools.java
package org.mtransit.parser.ca_edmonton_ets_bus; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.regex.Pattern; import org.apache.commons.lang3.StringUtils; import org.mtransit.parser.CleanUtils; ...
Compatibility with latest update.
src/org/mtransit/parser/ca_edmonton_ets_bus/EdmontonETSBusAgencyTools.java
Compatibility with latest update.
<ide><path>rc/org/mtransit/parser/ca_edmonton_ets_bus/EdmontonETSBusAgencyTools.java <ide> return excludeUselessCalendarDate(gCalendarDates, this.serviceIds); <ide> } <ide> return super.excludeCalendarDate(gCalendarDates); <add> } <add> <add> @Override <add> public boolean excludeRoute(GRoute gRoute) { <add> re...
Java
mit
56b374ee247eef3ca787f878ef3c287cfbdbfb80
0
aterai/java-swing-tips,aterai/java-swing-tips,aoguren/java-swing-tips,aterai/java-swing-tips,mhcrnl/java-swing-tips,mhcrnl/java-swing-tips,aterai/java-swing-tips,mhcrnl/java-swing-tips,aoguren/java-swing-tips,aoguren/java-swing-tips
package example; //-*- mode:java; encoding:utf8n; coding:utf-8 -*- // vim:set fileencoding=utf-8: //@homepage@ import java.awt.*; import java.util.*; import javax.swing.*; import javax.swing.table.*; public class TestModel extends DefaultTableModel { private static final ColumnContext[] columnArray = { new...
TableCellProgressBar/src/java/example/TestModel.java
package example; //-*- mode:java; encoding:utf8n; coding:utf-8 -*- // vim:set fileencoding=utf-8: //@homepage@ import java.awt.*; import java.util.*; import javax.swing.*; import javax.swing.table.*; public class TestModel extends DefaultTableModel { private static final ColumnContext[] columnArray = { new...
indent
TableCellProgressBar/src/java/example/TestModel.java
indent
<ide><path>ableCellProgressBar/src/java/example/TestModel.java <ide> <ide> public class TestModel extends DefaultTableModel { <ide> private static final ColumnContext[] columnArray = { <del> new ColumnContext("No.", Integer.class, false), <del> new ColumnContext("Name", String.class, false), <add> ...
Java
apache-2.0
daa5d1fd8e4ce57ebbab3daf6c502dede6d52f5c
0
TU-Berlin/mathosphere,TU-Berlin/mathosphere
package com.formulasearchengine.mathosphere.mathpd; import com.formulasearchengine.mathosphere.mathpd.cli.FlinkPdCommandConfig; import com.formulasearchengine.mathosphere.mathpd.contracts.ExtractedMathPDDocumentMapper; import com.formulasearchengine.mathosphere.mathpd.contracts.TextExtractorMapper; import com.formulas...
mathosphere-core/src/main/java/com/formulasearchengine/mathosphere/mathpd/FlinkPd.java
package com.formulasearchengine.mathosphere.mathpd; import com.formulasearchengine.mathosphere.mathpd.cli.FlinkPdCommandConfig; import com.formulasearchengine.mathosphere.mathpd.contracts.ExtractedMathPDDocumentMapper; import com.formulasearchengine.mathosphere.mathpd.contracts.TextExtractorMapper; import com.formulas...
base64 writer
mathosphere-core/src/main/java/com/formulasearchengine/mathosphere/mathpd/FlinkPd.java
base64 writer
<ide><path>athosphere-core/src/main/java/com/formulasearchengine/mathosphere/mathpd/FlinkPd.java <ide> import org.slf4j.LoggerFactory; <ide> <ide> import java.text.DecimalFormat; <add>import java.util.Base64; <ide> import java.util.HashMap; <ide> <ide> public class FlinkPd { <ide> LOGGER.i...
Java
mit
f4c79fbe7355df63c7ca3f12a17a23378b7c6c17
0
simonkro/do_mysql,simonkro/do_mysql,simonkro/do_mysql
package do_oracle; import java.sql.Connection; import java.sql.Statement; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Types; import java.util.Properties; import oracle.jdbc.OraclePreparedStatement; import oracle.jdbc.OracleTypes; import java.sql.Parameter...
do_oracle/ext-java/src/main/java/do_oracle/OracleDriverDefinition.java
package do_oracle; import java.sql.Connection; import java.sql.Statement; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Types; import java.util.Properties; import oracle.jdbc.OraclePreparedStatement; import oracle.jdbc.OracleTypes; import java.util.regex....
[do_oracle] JDBC driver - log SQL statements, do not use scrollable ResultSet
do_oracle/ext-java/src/main/java/do_oracle/OracleDriverDefinition.java
[do_oracle] JDBC driver - log SQL statements, do not use scrollable ResultSet
<ide><path>o_oracle/ext-java/src/main/java/do_oracle/OracleDriverDefinition.java <ide> import java.util.Properties; <ide> import oracle.jdbc.OraclePreparedStatement; <ide> import oracle.jdbc.OracleTypes; <del> <add>import java.sql.ParameterMetaData; <add> <ide> import java.util.regex.Matcher; <ide> import java.util.re...
Java
apache-2.0
c63480d00f3690d43843317b988f89279c0aaab5
0
digipost/signature-api-specification
/** * Copyright (C) Posten Norge AS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
jaxb/src/main/java/no/digipost/signature/api/xml/XMLDocument.java
/** * Copyright (C) Posten Norge AS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
Readd description for xml doc
jaxb/src/main/java/no/digipost/signature/api/xml/XMLDocument.java
Readd description for xml doc
<ide><path>axb/src/main/java/no/digipost/signature/api/xml/XMLDocument.java <ide> public interface XMLDocument { <ide> <ide> String getTitle(); <add> String getDescription(); <ide> XMLHref getHref(); <ide> String getMime(); <ide>
Java
mit
253e2a48ce8867f53753ad6616d0898aea0b83f3
0
heineman/algorithms-nutshell-2ed,heineman/algorithms-nutshell-2ed,heineman/algorithms-nutshell-2ed,heineman/algorithms-nutshell-2ed,heineman/algorithms-nutshell-2ed,heineman/algorithms-nutshell-2ed,heineman/algorithms-nutshell-2ed
package algs.model.tests.convexhull; import org.junit.Test; import algs.model.IPoint; import algs.model.data.Generator; import algs.model.data.points.UniformGenerator; import algs.model.twod.TwoDPoint; import junit.framework.TestCase; public class ComparativeHullTest extends TestCase { @Test public void testConst...
Tests/tests/algs/model/tests/convexhull/ComparativeHullTest.java
package algs.model.tests.convexhull; import org.junit.Test; import algs.model.IPoint; import algs.model.data.Generator; import algs.model.data.points.UniformGenerator; import algs.model.twod.TwoDPoint; import junit.framework.TestCase; public class ComparativeHullTest extends TestCase { @Test public void testConst...
Fixed parallel Akl-Toussaint heuristic implementation
Tests/tests/algs/model/tests/convexhull/ComparativeHullTest.java
Fixed parallel Akl-Toussaint heuristic implementation
<ide><path>ests/tests/algs/model/tests/convexhull/ComparativeHullTest.java <ide> points[i] = new TwoDPoint(master[i]); <ide> points2[i] = new TwoDPoint(master[i]); <ide> } <add> <ide> // compute heuristic (single thread) <ide> IPoint[] reduced = algs.model.problems.convexhull.AklToussaint.reduce(points); ...
Java
apache-2.0
39eb0e0b520c8c9c50022c85b223efc57515a6dc
0
jvd10/apollo,ApolloDev/apollo,ApolloDev/apollo,jvd10/apollo,jvd10/apollo,jvd10/apollo,ApolloDev/apollo,ApolloDev/apollo
/* Copyright 2012 University of Pittsburgh * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apollo-ws/service-skeletons/java/trunk/apollo-service-client/src/main/java/edu/pitt/apollo/apolloclient/WSClient.java
/* Copyright 2012 University of Pittsburgh * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Added code to generate a vaccination control strategy
apollo-ws/service-skeletons/java/trunk/apollo-service-client/src/main/java/edu/pitt/apollo/apolloclient/WSClient.java
Added code to generate a vaccination control strategy
<ide><path>pollo-ws/service-skeletons/java/trunk/apollo-service-client/src/main/java/edu/pitt/apollo/apolloclient/WSClient.java <ide> import java.net.URL; <ide> import java.util.Calendar; <ide> import java.util.GregorianCalendar; <del>import java.util.List; <ide> <ide> import javax.xml.datatype.DatatypeConfigurationEx...
Java
bsd-3-clause
error: pathspec 'src/java/fr/paris/lutece/util/method/MethodUtil.java' did not match any file(s) known to git
a9943d65c9d76eec8d8a03a7390eed07cc83363f
1
rzara/lutece-core,lutece-platform/lutece-core,rzara/lutece-core,lutece-platform/lutece-core,lutece-platform/lutece-core,rzara/lutece-core
/* * Copyright (c) 2002-2012, Mairie de Paris * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright notice * ...
src/java/fr/paris/lutece/util/method/MethodUtil.java
LUTECE-1497 : Add the MethodUtil that allow to invoke getter and setter dynamically git-svn-id: 890dd67775b5971c21efd90062c158582082fe1b@42993 bab10101-e421-0410-a517-8ce0973de3ef
src/java/fr/paris/lutece/util/method/MethodUtil.java
LUTECE-1497 : Add the MethodUtil that allow to invoke getter and setter dynamically
<ide><path>rc/java/fr/paris/lutece/util/method/MethodUtil.java <add>/* <add> * Copyright (c) 2002-2012, Mairie de Paris <add> * All rights reserved. <add> * <add> * Redistribution and use in source and binary forms, with or without <add> * modification, are permitted provided that the following conditions <add> * are m...
JavaScript
isc
111f6d979dcdfa000328105ba369107a49eb6392
0
pka/mapbox-gl-style-spec,mapbox/mapbox-gl-style-lint,pka/mapbox-gl-style-spec
'use strict'; var jsonlint = require('jsonlint-lines'); var reference = require('./reference'); var parseCSSColor = require('csscolorparser').parseCSSColor; module.exports = {}; module.exports.value = value; ['v2','v3'].forEach(function(version) { var ref = reference(version); // Create validator for version ...
lib/validate.js
'use strict'; var jsonlint = require('jsonlint-lines'); var reference = require('./reference'); var parseCSSColor = require('csscolorparser').parseCSSColor; module.exports = {}; module.exports.value = value; ['v2','v3'].forEach(function(version) { var ref = reference(version); // Create validator for version ...
Consider color arrays invalid. Refs mapbox/mapbox-gl-style-spec#43
lib/validate.js
Consider color arrays invalid. Refs mapbox/mapbox-gl-style-spec#43
<ide><path>ib/validate.js <ide> var type = Array.isArray(val) ? 'array' : typeof val; <ide> <ide> if (spec === 'color') { <del> if (type === 'array') { <del> if (val.length > 4 || val.length < 3) { <del> errors.push({ <del> message: key + ': ' + spec + ' expe...
Java
mit
2a62c89298f78026720a4c0cb44a25b26bd19f80
0
mcai/Archimulator,mcai/Archimulator,mcai/Archimulator,mcai/Archimulator
/** * **************************************************************************** * Copyright (c) 2010-2016 by Min Cai (min.cai.china@gmail.com). * <p> * This file is part of the Archimulator multicore architectural simulator. * <p> * Archimulator is free software: you can redistribute it and/or modify * it und...
src/main/java/archimulator/uncore/net/NoCMemoryHierarchy.java
/** * **************************************************************************** * Copyright (c) 2010-2016 by Min Cai (min.cai.china@gmail.com). * <p> * This file is part of the Archimulator multicore architectural simulator. * <p> * Archimulator is free software: you can redistribute it and/or modify * it und...
Update dumpStats(..) code in NoCMemoryHierarchy.
src/main/java/archimulator/uncore/net/NoCMemoryHierarchy.java
Update dumpStats(..) code in NoCMemoryHierarchy.
<ide><path>rc/main/java/archimulator/uncore/net/NoCMemoryHierarchy.java <ide> reportNode.getChildren().add(new ReportNode(reportNode, getName()) {{ <ide> Network<ACONode, OddEvenTurnBasedRoutingAlgorithm> network = net.getNetwork(); <ide> <del> getChildren().add(new ReportNode(this, "num...
Java
epl-1.0
f0593632a855db2acf5858d2df217425aad2ee0c
0
yannick-mayeur/january,IanMayo/january,SmithRWORNL/january,IanMayo/january,SmithRWORNL/january,yannick-mayeur/january,yannick-mayeur/january,SmithRWORNL/january,yannick-mayeur/january,IanMayo/january,IanMayo/january
/******************************************************************************* * Copyright (c) 2012, 2014- UT-Battelle, LLC. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is avai...
src/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/form/ResourceComponent.java
/******************************************************************************* * Copyright (c) 2012, 2014- UT-Battelle, LLC. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is avai...
Fixes bugs 469299 and 469302, the file viewer delete button not working and the CSV Plot Editor not being openable. Signed-off-by: r8s <05dd006e77367449fd271396bc7f4a34d1761d85@ornl.gov>
src/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/form/ResourceComponent.java
Fixes bugs 469299 and 469302, the file viewer delete button not working and the CSV Plot Editor not being openable.
<ide><path>rc/org.eclipse.ice.datastructures/src/org/eclipse/ice/datastructures/form/ResourceComponent.java <ide> this.add(resource); <ide> } <ide> <add> return; <add> } <add> <add> /** <add> * This operation removes an ICEResource from the component. <add> * <add> * @param resource <add> * The resource...
Java
apache-2.0
5fa2d9b22b0ae23b1c8b22a54c51fac76633045e
0
sekikn/ambari,radicalbit/ambari,radicalbit/ambari,sekikn/ambari,sekikn/ambari,radicalbit/ambari,sekikn/ambari,radicalbit/ambari,radicalbit/ambari,sekikn/ambari,radicalbit/ambari,sekikn/ambari,radicalbit/ambari,radicalbit/ambari,radicalbit/ambari,sekikn/ambari,sekikn/ambari,radicalbit/ambari,sekikn/ambari,radicalbit/amb...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ConfigGroupResourceProviderTest.java
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
AMBARI-18481. Fix Authentication data is not available error in ConfigGroupResourceProviderTest (rlevas)
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ConfigGroupResourceProviderTest.java
AMBARI-18481. Fix Authentication data is not available error in ConfigGroupResourceProviderTest (rlevas)
<ide><path>mbari-server/src/test/java/org/apache/ambari/server/controller/internal/ConfigGroupResourceProviderTest.java <del>/** <add>/* <ide> * Licensed to the Apache Software Foundation (ASF) under one <ide> * or more contributor license agreements. See the NOTICE file <ide> * distributed with this work for addit...
JavaScript
mit
3bbf243adf17878850a021a4cbdcb29b3e6018cc
0
tnt0932/ParkCompass,tnt0932/ParkCompass,tnt0932/ParkCompass
/* scripts.js */ var map; var xml; var markers = []; var userMarker = []; var infoWindow; var search_result_list; var userMarkerPosition = new google.maps.LatLng(49.25, -123.133333); var parkIcon = 'img/park_icon.png'; var parkIconShadowURL = 'img/park_icon_shadow.png'; var parkIconShadowSize = new google.maps.Size(3...
js/parkcompass-app.1.0.0.js
/* scripts.js */ var map; var xml; var markers = []; var userMarker = []; var infoWindow; var search_result_list; var userMarkerPosition = new google.maps.LatLng(49.25, -123.133333); var parkIcon = 'img/park_icon.png'; var parkIconShadowURL = 'img/park_icon_shadow.png'; var parkIconShadowSize = new google.maps.Size(3...
arbitrary change to test cloud9
js/parkcompass-app.1.0.0.js
arbitrary change to test cloud9
<ide><path>s/parkcompass-app.1.0.0.js <ide> searchLocationsNear(userMarkerPosition); <ide> <ide> } <del> <ide> <ide> function searchLocations() { <ide> var address = document.getElementById("location_search_input").value;
Java
bsd-3-clause
96e0d2f06d1861d6c9570f2d5c16270c188b5eb6
0
flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij
/* * Copyright 2017 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ package io.flutter.view; import com.intellij.execution.runners.ExecutionUtil; import com.intellij.execution.ui.ConsoleViewContentType; import com.i...
src/io/flutter/view/FlutterView.java
/* * Copyright 2017 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ package io.flutter.view; import com.intellij.execution.runners.ExecutionUtil; import com.intellij.execution.ui.ConsoleViewContentType; import com.i...
fix a project use after dispose (#1878)
src/io/flutter/view/FlutterView.java
fix a project use after dispose (#1878)
<ide><path>rc/io/flutter/view/FlutterView.java <ide> } <ide> <ide> ApplicationManager.getApplication().invokeLater(() -> { <add> if (myProject.isDisposed()) { <add> return; <add> } <add> <ide> final ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(myProject); <ide> ...
Java
apache-2.0
ca169d68e0ec399a12e9869a55cbe66809606c0d
0
dbflute/dbflute-intro,dbflute/dbflute-intro,dbflute/dbflute-intro,dbflute/dbflute-intro,dbflute/dbflute-intro,dbflute/dbflute-intro,dbflute/dbflute-intro
/* * Copyright 2014-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
src/main/java/org/dbflute/intro/app/web/welcome/WelcomeAction.java
/* * Copyright 2014-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
add TODO comment
src/main/java/org/dbflute/intro/app/web/welcome/WelcomeAction.java
add TODO comment
<ide><path>rc/main/java/org/dbflute/intro/app/web/welcome/WelcomeAction.java <ide> if (clientInfoLogic.getProjectList().contains(projectName)) { <ide> messages.addErrorsWelcomeClientAlreadyExists("projectName", projectName); // TODO: hakiba refactor type-safe (2016/10/10) <ide> }...
Java
apache-2.0
7291486ca0ccbff67f444ff1ce3c5429c1378d9c
0
sanderbaas/k-9,thuanpq/k-9,dgger/k-9,cketti/k-9,philipwhiuk/k-9,torte71/k-9,tsunli/k-9,thuanpq/k-9,dhootha/k-9,gaionim/k-9,mawiegand/k-9,denim2x/k-9,sanderbaas/k-9,ndew623/k-9,sonork/k-9,roscrazy/k-9,indus1/k-9,XiveZ/k-9,vasyl-khomko/k-9,k9mail/k-9,tonytamsf/k-9,deepworks/k-9,Eagles2F/k-9,rishabhbitsg/k-9,439teamwork/k...
package com.fsck.k9.controller; import java.io.CharArrayWriter; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import j...
src/com/fsck/k9/controller/MessagingController.java
package com.fsck.k9.controller; import java.io.CharArrayWriter; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import j...
No longer delete the Outbox every time it's empty - it makes it somewhat more difficult to work with. If we want to hide it when it's empty, that's fine. but it's not necessary to delete it.
src/com/fsck/k9/controller/MessagingController.java
No longer delete the Outbox every time it's empty - it makes it somewhat more difficult to work with. If we want to hide it when it's empty, that's fine. but it's not necessary to delete it.
<ide><path>rc/com/fsck/k9/controller/MessagingController.java <ide> } <ide> if (localFolder.getMessageCount() == 0) <ide> { <del> localFolder.delete(false); <add> // No longer delete the empty local outbox every time we finish sending mail <add> ...
Java
agpl-3.0
5908d09e886a92f4283f3d31cdcfc4a883c8c0f8
0
leedonghn4/cbio-portal-webgl,bihealth/cbioportal,istemi-bahceci/cbioportal,jjgao/cbioportal,sheridancbio/cbioportal,cBioPortal/cbioportal,HectorWon/cbioportal,leedonghn4/cbioportal,kalletlak/cbioportal,onursumer/cbioportal,adamabeshouse/cbioportal,inodb/cbioportal,zhx828/cbioportal,zheins/cbioportal,gsun83/cbioportal,d...
package org.mskcc.portal.mutation.diagram.pfam; import java.io.IOException; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.codehaus.jackson.map.ObjectMapper; i...
portal/src/org/mskcc/portal/mutation/diagram/pfam/MutationDiagramDataServlet.java
package org.mskcc.portal.mutation.diagram.pfam; import java.io.IOException; import java.util.List; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.codehaus.jackson.map.ObjectMapper; i...
adding additional details to mutation markups
portal/src/org/mskcc/portal/mutation/diagram/pfam/MutationDiagramDataServlet.java
adding additional details to mutation markups
<ide><path>ortal/src/org/mskcc/portal/mutation/diagram/pfam/MutationDiagramDataServlet.java <ide> markup.setLineColour("#666"); <ide> markup.setHeadStyle("diamond"); <ide> markup.setV_align("top"); <add> markup.setType("mutation"); <add> mark...
Java
mit
6a071c5cb2b95542c3fd9cec8fac8334fa4fbfe0
0
diokey/sunshine
package com.example.diokey.sunshine.app; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import a...
app/src/main/java/com/example/diokey/sunshine/app/ForecastFragment.java
package com.example.diokey.sunshine.app; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import a...
Updated the adapter
app/src/main/java/com/example/diokey/sunshine/app/ForecastFragment.java
Updated the adapter
<ide><path>pp/src/main/java/com/example/diokey/sunshine/app/ForecastFragment.java <ide> protected void onPostExecute(String[] strings) { <ide> super.onPostExecute(strings); <ide> List<String> foreCastItems = Arrays.asList(strings); <del> adapter = new ArrayAdapter(getActivity(...
JavaScript
bsd-3-clause
8f4dc3ce1ab322dc41e0b0e9e4a172b42942d72d
0
redaktor/deliteful
dojo.provide("dojox.dtl._DomTemplated"); dojo.require("dijit._Templated"); dojo.require("dojox.dtl.dom"); dojo.require("dojox.dtl.render.dom"); dojo.require("dojox.dtl.contrib.dijit"); dojox.dtl._DomTemplated = function(){}; dojox.dtl._DomTemplated.prototype = { _dijitTemplateCompat: false, buildRendering: function...
dtl/_DomTemplated.js
dojo.provide("dojox.dtl._DomTemplated"); dojo.require("dijit._Templated"); dojo.require("dojox.dtl.dom"); dojo.require("dojox.dtl.render.dom"); dojo.require("dojox.dtl.contrib.dijit"); dojox.dtl._DomTemplated = { prototype: { _dijitTemplateCompat: false, buildRendering: function(){ // summary: // Construc...
dtl: minor fix --- "classes" should be functions, not objects, !strict, refs #9862. git-svn-id: ee6e786acc44c9cca5ee17c71a5576c45c210361@20154 560b804f-0ae3-0310-86f3-f6aa0a117693
dtl/_DomTemplated.js
dtl: minor fix --- "classes" should be functions, not objects, !strict, refs #9862.
<ide><path>tl/_DomTemplated.js <ide> dojo.require("dojox.dtl.render.dom"); <ide> dojo.require("dojox.dtl.contrib.dijit"); <ide> <del>dojox.dtl._DomTemplated = { <del> prototype: { <del> _dijitTemplateCompat: false, <del> buildRendering: function(){ <del> // summary: <del> // Construct the UI for this widget, se...
Java
apache-2.0
f2ed5e14f74cb0a79f8f010ea4635509bd092fc8
0
emergentdotorg/shaman,emergentdotorg/shaman
package org.emergent.android.weave; import android.app.*; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.os.AsyncTask; import android.os.Bundle; import android.text.Editable;...
src/org/emergent/android/weave/AbstractListActivity.java
package org.emergent.android.weave; import android.app.AlertDialog; import android.app.ListActivity; import android.content.ContentResolver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.os.AsyncTask; import andro...
Anding status bar stuff.
src/org/emergent/android/weave/AbstractListActivity.java
Anding status bar stuff.
<ide><path>rc/org/emergent/android/weave/AbstractListActivity.java <ide> package org.emergent.android.weave; <ide> <del>import android.app.AlertDialog; <del>import android.app.ListActivity; <add>import android.app.*; <ide> import android.content.ContentResolver; <ide> import android.content.Context; <ide> import andro...
Java
agpl-3.0
bef973074121ad304fa2b027beec0d8832aa96fb
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
1356fc3c-2e61-11e5-9284-b827eb9e62be
hello.java
135197ce-2e61-11e5-9284-b827eb9e62be
1356fc3c-2e61-11e5-9284-b827eb9e62be
hello.java
1356fc3c-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>135197ce-2e61-11e5-9284-b827eb9e62be <add>1356fc3c-2e61-11e5-9284-b827eb9e62be
Java
apache-2.0
7d3c0fda01949e66958c10a0175b3837a6981303
0
Team-OctOS/host_gerrit,dwhipstock/gerrit,renchaorevee/gerrit,1yvT0s/gerrit,midnightradio/gerrit,zommarin/gerrit,TonyChai24/test,1yvT0s/gerrit,WANdisco/gerrit,cjh1/gerrit,Saulis/gerrit,thinkernel/gerrit,jackminicloud/test,quyixia/gerrit,anminhsu/gerrit,gracefullife/gerrit,catrope/gerrit,evanchueng/gerrit,jeblair/gerrit,...
// Copyright 2008 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
appjar/src/main/java/com/google/gerrit/client/account/AccountService.java
// Copyright 2008 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
Remove AllowCrossSiteRequest annotation from possibly sensitive methods These methods provide direct access to user account data. They should only be available over HTTP POST, and only after the XSRF token trick has been satisfied. This reduces the exposure risk for evil 3rd party pages to try and steal this data vi...
appjar/src/main/java/com/google/gerrit/client/account/AccountService.java
Remove AllowCrossSiteRequest annotation from possibly sensitive methods
<ide><path>ppjar/src/main/java/com/google/gerrit/client/account/AccountService.java <ide> import com.google.gerrit.client.reviewdb.AccountProjectWatch; <ide> import com.google.gerrit.client.rpc.SignInRequired; <ide> import com.google.gwt.user.client.rpc.AsyncCallback; <del>import com.google.gwtjsonrpc.client.AllowCross...
JavaScript
mit
f1e812868655997cfa4e9ee2da29d972c55bf36d
0
kuznetsovlv/bemclassname,kuznetsovlv/bemclassname
"use strict"; const webpack = require('webpack'); const path = require('path'); const NODE_ENV = process.env.NODE_ENV || "development"; const DEV = NODE_ENV === "development"; const TEST = NODE_ENV === "test"; const WEB = NODE_ENV === "web"; const PRODUCT = NODE_ENV === "product"; const plugins = [ new webpack.NoEr...
webpack.config.js
"use strict"; const webpack = require('webpack'); const path = require('path'); const NODE_ENV = process.env.NODE_ENV || "development"; const DEV = NODE_ENV === "development"; const TEST = NODE_ENV === "test"; const WEB = NODE_ENV === "web"; const PRODUCT = NODE_ENV === "product"; const plugins = [ new webpack.NoEr...
Fixed build
webpack.config.js
Fixed build
<ide><path>ebpack.config.js <ide> ]; <ide> <ide> const webOutput = {filename: 'BEMClassNames.js', path: path.resolve(__dirname, 'web'), library: 'BEMClassNames', libraryTarget: 'var'}; <del>const defaultOutput = {filename: 'index.js', path: path.resolve(__dirname, DEV || TEST ? 'test' : 'dist')}; <add>const defaultOu...
Java
bsd-3-clause
error: pathspec 'projects/rules/src/main/java/gov/nih/nci/cabig/caaers/rules/runtime/BusinessRulesExecutionService.java' did not match any file(s) known to git
2b0c410a7fcd638d57fab1f6796db1aebc6129aa
1
CBIIT/caaers,NCIP/caaers,NCIP/caaers,NCIP/caaers,CBIIT/caaers,CBIIT/caaers,CBIIT/caaers,NCIP/caaers,CBIIT/caaers
package gov.nih.nci.cabig.caaers.rules.runtime; import java.util.List; public interface BusinessRulesExecutionService { public List<Object> fireRules(String bindingURI, List<Object> objects); }
projects/rules/src/main/java/gov/nih/nci/cabig/caaers/rules/runtime/BusinessRulesExecutionService.java
SVN-Revision: 1657
projects/rules/src/main/java/gov/nih/nci/cabig/caaers/rules/runtime/BusinessRulesExecutionService.java
<ide><path>rojects/rules/src/main/java/gov/nih/nci/cabig/caaers/rules/runtime/BusinessRulesExecutionService.java <add>package gov.nih.nci.cabig.caaers.rules.runtime; <add> <add>import java.util.List; <add> <add>public interface BusinessRulesExecutionService { <add> <add> public List<Object> fireRules(String bindingURI...
Java
apache-2.0
4c4d6fa328b381b490989cdede2d272603a08724
0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.provision.maintenance.retire; import com.google.common.net.InetAddresses; import com.yahoo.config.provision.Environment; import com.yahoo.config.provision.Flavor; import...
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/retire/RetireIPv4OnlyNodes.java
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.provision.maintenance.retire; import com.google.common.net.InetAddresses; import com.yahoo.config.provision.Environment; import com.yahoo.config.provision.Flavor; import...
retire IPv4 hosts in us-central-1
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/retire/RetireIPv4OnlyNodes.java
retire IPv4 hosts in us-central-1
<ide><path>ode-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/retire/RetireIPv4OnlyNodes.java <ide> return zone.environment() == Environment.perf || zone.environment() == Environment.prod; <ide> } else if (zone.region().equals(RegionName.from("us-west-1"))) { <ide> ...
Java
apache-2.0
65c02ccfe6f30494df6d1f1393245bf3893def9f
0
rabix/bunny,rabix/bunny,rabix/bunny,rabix/bunny,rabix/bunny
package org.rabix.engine.store.memory.impl; import com.google.inject.Inject; import org.rabix.bindings.model.dag.DAGLinkPort.LinkPortType; import org.rabix.engine.store.model.VariableRecord; import org.rabix.engine.store.repository.VariableRecordRepository; import java.util.*; import java.util.concurrent.ConcurrentHa...
rabix-engine-store/src/main/java/org/rabix/engine/store/memory/impl/InMemoryVariableRecordRepository.java
package org.rabix.engine.store.memory.impl; import com.google.inject.Inject; import org.rabix.bindings.model.dag.DAGLinkPort.LinkPortType; import org.rabix.engine.store.model.VariableRecord; import org.rabix.engine.store.repository.VariableRecordRepository; import java.util.*; import java.util.concurrent.ConcurrentHa...
Id cleanup
rabix-engine-store/src/main/java/org/rabix/engine/store/memory/impl/InMemoryVariableRecordRepository.java
Id cleanup
<ide><path>abix-engine-store/src/main/java/org/rabix/engine/store/memory/impl/InMemoryVariableRecordRepository.java <ide> @Override <ide> public void delete(String id, UUID rootId) { <ide> getVariableRecords(rootId).removeIf(variableRecord -> variableRecord.getJobId().equals(id)); <add> getVariableRecordsWit...
JavaScript
mit
b7ed4390ee407e4eddb8f51e5cb814f534e98824
0
jeffh/YACS,JGrippo/YACS,jeffh/YACS,jeffh/YACS,JGrippo/YACS,JGrippo/YACS,jeffh/YACS,JGrippo/YACS
// require: objects.js var Scheduler = {}; Scheduler.selection = new Selection(); /////////////////////////////////////////////////// // Data fetching function getSavedSelection(){ var data = $('meta[name=selection-raw]').attr('content'); var obj = null; if($.trim(data) !== '') obj = $.parseJSON(data); ret...
yacs/static/global/js/v2/application.js
// require: objects.js var Scheduler = {}; Scheduler.selection = new Selection(); /////////////////////////////////////////////////// // Data fetching function getSavedSelection(){ var data = $('meta[name=selection-raw]').attr('content'); var obj = null; if($.trim(data) !== '') obj = $.parseJSON(data); ret...
fixed perma link bug
yacs/static/global/js/v2/application.js
fixed perma link bug
<ide><path>acs/static/global/js/v2/application.js <ide> var uri = _.compact(location.href.split('/')); <ide> var index = 0, scheduleID = null; <ide> if (uri[uri.length - 1] !== 'schedules'){ <del> var index = uri[length - 1] || null; <add> var index = uri[uri.length - 1] || null; <ide> var scheduleID = ...
Java
mit
69f5ea17dd5b07521c1ed6f3fadc248f83e4ad08
0
chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster,chipster/chipster
package fi.csc.microarray.databeans; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.MalformedURLException; import java.net.URL; import jav...
src/main/java/fi/csc/microarray/databeans/DataManager.java
package fi.csc.microarray.databeans; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.MalformedURLException; import java.net.URL; import jav...
fixed bug in URL bookkeeping
src/main/java/fi/csc/microarray/databeans/DataManager.java
fixed bug in URL bookkeeping
<ide><path>rc/main/java/fi/csc/microarray/databeans/DataManager.java <ide> <ide> // move from elsewhere to storage <ide> ContentLocation closestLocation = dataBean.getClosestContentLocation(); <del> Session.getSession().getServiceAccessor().getFileBrokerClient().addFile(FileBrokerArea.STORAGE, closestLocation.g...
Java
apache-2.0
f2fe7f335c3b55cb2a2f9bd4cada56dc2ad35633
0
spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework
/* * Copyright 2002-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-context/src/test/java/org/springframework/context/annotation/AnnotationConfigApplicationContextTests.java
/* * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Improve nullReturningBeanPostProcessor() test See gh-28459
spring-context/src/test/java/org/springframework/context/annotation/AnnotationConfigApplicationContextTests.java
Improve nullReturningBeanPostProcessor() test
<ide><path>pring-context/src/test/java/org/springframework/context/annotation/AnnotationConfigApplicationContextTests.java <ide> /* <del> * Copyright 2002-2020 the original author or authors. <add> * Copyright 2002-2022 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (th...
Java
agpl-3.0
error: pathspec 'src/test/java/com/imcode/imcms/controller/api/TemplateGroupControllerTest.java' did not match any file(s) known to git
52744229401034d0cb0481b4917f610c8d3e62a1
1
imCodePartnerAB/imcms,imCodePartnerAB/imcms,imCodePartnerAB/imcms
package com.imcode.imcms.controller.api; import com.imcode.imcms.components.datainitializer.TemplateDataInitializer; import com.imcode.imcms.controller.AbstractControllerTest; import com.imcode.imcms.domain.service.TemplateGroupService; import com.imcode.imcms.model.TemplateGroup; import org.junit.jupiter.api.BeforeEa...
src/test/java/com/imcode/imcms/controller/api/TemplateGroupControllerTest.java
Issue IMCMS-332: New design to super admin page: files tab - Create test and scenario;
src/test/java/com/imcode/imcms/controller/api/TemplateGroupControllerTest.java
Issue IMCMS-332: New design to super admin page: files tab - Create test and scenario;
<ide><path>rc/test/java/com/imcode/imcms/controller/api/TemplateGroupControllerTest.java <add>package com.imcode.imcms.controller.api; <add> <add>import com.imcode.imcms.components.datainitializer.TemplateDataInitializer; <add>import com.imcode.imcms.controller.AbstractControllerTest; <add>import com.imcode.imcms.domai...
Java
apache-2.0
fc347b90860dc834b5752e9a2deb03bd27c544f7
0
lorban/terracotta-auditor
/* * Copyright Terracotta, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
src/main/java/org/terracotta/auditor/verifier/RecordValue.java
/* * Copyright Terracotta, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Equals and hashCode for RecordValue
src/main/java/org/terracotta/auditor/verifier/RecordValue.java
Equals and hashCode for RecordValue
<ide><path>rc/main/java/org/terracotta/auditor/verifier/RecordValue.java <ide> * limitations under the License. <ide> */ <ide> package org.terracotta.auditor.verifier; <add> <add>import java.util.Objects; <ide> <ide> public class RecordValue { <ide> public static final RecordValue ABSENT = new RecordValue(null, tr...
JavaScript
mit
1e1d83cb3288b74255cc13b928470cf0252bc6d4
0
gkjohnson/three-mesh-bvh,gkjohnson/three-mesh-bvh,gkjohnson/three-mesh-bvh
import * as THREE from '../node_modules/three/build/three.module.js' // Settings const maxLeafNodes = 10; const maxMatchingTriangles = 0.5; // Utilities const abcFields = ['a', 'b', 'c']; const xyzFields = ['x', 'y', 'z']; const getLongestEdgeIndex = bb => { let splitDimIdx = -1; let splitDist = -Infinity; ...
lib/TriangleBoundsTree.js
import * as THREE from '../node_modules/three/build/three.module.js' // Settings const maxLeafNodes = 10; const maxMatchingTriangles = 0.5; // Utilities const abcFields = ['a', 'b', 'c']; const xyzFields = ['x', 'y', 'z']; const getLongestEdgeIndex = bb => { let splitDimIdx = -1; let splitDist = -Infinity; ...
let to const
lib/TriangleBoundsTree.js
let to const
<ide><path>ib/TriangleBoundsTree.js <ide> <ide> /* Public API */ <ide> collectCandidates(origray) { <del> let candidates = []; <add> const candidates = []; <ide> const recurse = (node, ray) => { <ide> if (!ray.intersectsSphere(node.boundingSphere) || !ray.intersectsBox(node.bo...
Java
apache-2.0
991775423ecf092fb0f608e6d41ff131f78ed955
0
KernelHaven/FeatureEffectAnalysis
package net.ssehub.kernel_haven.feature_effects; import java.util.ArrayList; import java.util.Collection; import java.util.List; import net.ssehub.kernel_haven.SetUpException; import net.ssehub.kernel_haven.analysis.AnalysisComponent; import net.ssehub.kernel_haven.config.Configuration; import net.ssehub.kernel_haven...
src/net/ssehub/kernel_haven/feature_effects/FeatureEffectFinder.java
package net.ssehub.kernel_haven.feature_effects; import java.util.ArrayList; import java.util.Collection; import java.util.List; import net.ssehub.kernel_haven.SetUpException; import net.ssehub.kernel_haven.analysis.AnalysisComponent; import net.ssehub.kernel_haven.config.Configuration; import net.ssehub.kernel_haven...
Comments & minimalistic refactoring
src/net/ssehub/kernel_haven/feature_effects/FeatureEffectFinder.java
Comments & minimalistic refactoring
<ide><path>rc/net/ssehub/kernel_haven/feature_effects/FeatureEffectFinder.java <ide> boolean simplify = simplifyType.ordinal() >= SimplificationType.PRESENCE_CONDITIONS.ordinal(); <ide> <ide> // This eliminates "duplicated" formulas, this is not done in simplifications for presence conditions. <add> ...
Java
apache-2.0
0f3a895c86dfce538d5f32c5306f6493d74407da
0
SpineEventEngine/gae-java,SpineEventEngine/gae-java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
datastore/src/test/java/io/spine/server/storage/datastore/DsRecordStorageTest.java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
Clarify duplication test comments
datastore/src/test/java/io/spine/server/storage/datastore/DsRecordStorageTest.java
Clarify duplication test comments
<ide><path>atastore/src/test/java/io/spine/server/storage/datastore/DsRecordStorageTest.java <ide> // Execute Query. <ide> Iterator<EntityRecord> readResult = storage.readAll(entityQuery, emptyFieldMask()); <ide> <del> // Check the query results. <add> // Check the entity ...
Java
apache-2.0
05d3d42e29c606fb1ca6f5e263e20cd85d9ba468
0
rndsolutions/hawkcd,rndsolutions/hawkcd,rndsolutions/hawkcd,rndsolutions/hawkcd,rndsolutions/hawkcd
package net.hawkengine.model; import java.time.LocalDateTime; import java.util.HashSet; import java.util.Set; public class Agent extends DbEntry { private String name; private String hostName; private String ipAddress; private String rootPath; private String operatingSystem; private Set<String...
src/hawkengine/src/main/java/net/hawkengine/model/Agent.java
package net.hawkengine.model; import java.time.LocalDateTime; import java.util.HashSet; import java.util.Set; public class Agent extends DbEntry { private String name; private String hostName; private String ipAddress; private String rootPath; private Object operatingSystem; private Set<String...
Added additional field
src/hawkengine/src/main/java/net/hawkengine/model/Agent.java
Added additional field
<ide><path>rc/hawkengine/src/main/java/net/hawkengine/model/Agent.java <ide> private String hostName; <ide> private String ipAddress; <ide> private String rootPath; <del> private Object operatingSystem; <add> private String operatingSystem; <ide> private Set<String> resources; <ide> private En...
Java
apache-2.0
8e3b05f2ab3f98c531d5d45e9a54307657d9add4
0
ST-DDT/CrazyCore
package de.st_ddt.crazyplugin; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader...
src/de/st_ddt/crazyplugin/CrazyPlugin.java
package de.st_ddt.crazyplugin; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader...
CrazyCore: fixed issue when no file uploads are found
src/de/st_ddt/crazyplugin/CrazyPlugin.java
CrazyCore: fixed issue when no file uploads are found
<ide><path>rc/de/st_ddt/crazyplugin/CrazyPlugin.java <ide> while ((zeile = bufreader.readLine()) != null) <ide> { <ide> zeile = zeile.trim(); <del> if (active) <add> if (active && zeile.startsWith("<title>")) <ide> { <ide> updateVersion = zeile.substring(7 + getName().length() + 2).split...
JavaScript
mit
b5ab7f56df5bcc9d6459b59c9116e2256eaaf5be
0
dbsoftcombr/dbsfaces,dbsoftcombr/dbsfaces,dbsoftcombr/dbsfaces
(function($){ var $chk = function(obj){ return !!(obj || obj === 0); }; var dbsmask = function(){ this.initialize.apply(this, arguments); }; dbsmask.prototype = { options: { maskEmptyChr : ' ', validNumbers : "1234567890", validAlphas : "abcdefghijklmnopqrstuvwxyz", validAlphaNums : "ab...
src/main/resources/META-INF/resources/js/dbsmask.js
(function($){ var $chk = function(obj){ return !!(obj || obj === 0); }; var dbsmask = function(){ this.initialize.apply(this, arguments); }; dbsmask.prototype = { options: { maskEmptyChr : ' ', validNumbers : "1234567890", validAlphas : "abcdefghijklmnopqrstuvwxyz", validAlphaNums : "ab...
Documentação
src/main/resources/META-INF/resources/js/dbsmask.js
Documentação
<ide><path>rc/main/resources/META-INF/resources/js/dbsmask.js <ide> } else { <ide> this.node.trigger( "invalid", ev, this.node ); <ide> } <del>// var xEvent = new MouseEvent('keydown', { <del>// 'view': window, <del>// 'bubbles': true, <del>// 'cancelable': tru...
Java
mit
error: pathspec 'src/scheduler/EdfScheduler.java' did not match any file(s) known to git
4ebd490d71ec0e5a5e712a4ac1cbcd9e370629a8
1
hadoth/OperatingSystems02
package scheduler; /** * Created by Karol Pokomeda on 2017-04-24. */ public class EdfScheduler { }
src/scheduler/EdfScheduler.java
Stable version
src/scheduler/EdfScheduler.java
Stable version
<ide><path>rc/scheduler/EdfScheduler.java <add>package scheduler; <add> <add>/** <add> * Created by Karol Pokomeda on 2017-04-24. <add> */ <add>public class EdfScheduler { <add>}
Java
apache-2.0
59875ea9ee19899933d8e4f98de0f51966370fc3
0
icecondor/android,icecondor/android
package com.icecondor.nest; import java.io.IOException; import java.net.URISyntaxException; import java.util.Timer; import java.util.TimerTask; import net.oauth.OAuthAccessor; import net.oauth.OAuthException; import net.oauth.client.OAuthClient; import net.oauth.client.httpclient4.HttpClient4; import org.apache.http...
src/com/icecondor/nest/Radar.java
package com.icecondor.nest; import java.io.IOException; import java.net.URISyntaxException; import java.util.Timer; import java.util.TimerTask; import net.oauth.OAuthAccessor; import net.oauth.OAuthException; import net.oauth.client.OAuthClient; import net.oauth.client.httpclient4.HttpClient4; import org.apache.http...
cleanup
src/com/icecondor/nest/Radar.java
cleanup
<ide><path>rc/com/icecondor/nest/Radar.java <ide> public void onServiceConnected(ComponentName className, IBinder service) { <ide> Log.i(appTag, "onServiceConnected "+service); <ide> pigeon = PigeonService.Stub.asInterface(service); <del> scrollToLastFix(); <ide> try { <ide> Location fix = pigeon.getLastFix(...
Java
mit
c6437e0226c096a727ad92a41268b53380bbe59c
0
CS2103JAN2017-F12-B2/main,CS2103JAN2017-F12-B2/main
package seedu.address.logic.parser; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; /** * Tokenizes arguments string of the form: {@code preamble <prefix>value <prefix>value ...}<br> * e.g. {@code some preambl...
src/main/java/seedu/address/logic/parser/ArgumentTokenizer.java
package seedu.address.logic.parser; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Optional; /** * Tokenizes arguments string of the form: {@code preamble <prefix>value <prefix>value ...}<br> * e.g. {@code some preambl...
Added stub to detect deadline text
src/main/java/seedu/address/logic/parser/ArgumentTokenizer.java
Added stub to detect deadline text
<ide><path>rc/main/java/seedu/address/logic/parser/ArgumentTokenizer.java <ide> <ide> int valueStartPos = currentPrefixPosition.getStartPosition() + prefix.getPrefix().length(); <ide> String value = argsString.substring(valueStartPos, nextPrefixPosition.getStartPosition()); <del> <add> if (prefi...
JavaScript
apache-2.0
edb2f3da26fb4ae725db4a13c026579dd01d1e17
0
wido/cloudstack,jcshen007/cloudstack,mufaddalq/cloudstack-datera-driver,mufaddalq/cloudstack-datera-driver,GabrielBrascher/cloudstack,jcshen007/cloudstack,wido/cloudstack,mufaddalq/cloudstack-datera-driver,jcshen007/cloudstack,resmo/cloudstack,jcshen007/cloudstack,GabrielBrascher/cloudstack,DaanHoogland/cloudstack,Gabr...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
ui/scripts/vpc.js
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
CLOUDSTACK-768:ACLs on Private GATEWAY :Acl id on Private Gateway ListView
ui/scripts/vpc.js
CLOUDSTACK-768:ACLs on Private GATEWAY :Acl id on Private Gateway ListView
<ide><path>i/scripts/vpc.js <ide> converter: function(str) { <ide> return str ? 'Yes' : 'No'; <ide> } <del> } <add> }, <add> aclid:{label:'ACL id'} <add> <ide> <ide> ...
JavaScript
apache-2.0
e5c1091f97d1c35867a0eda87fe10ebd581939ea
0
brightcove/shaka-player,brightcove/shaka-player,brightcove/shaka-player
/** * @license * Copyright 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
demo/load.js
/** * @license * Copyright 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
Clean up demo loader The loader script for the demo uses document.write to add script tags. This is not ideal, and currently generates these warnings in Chrome: [Violation] Parser was blocked due to document.write(<script>) [Violation] Avoid using document.write(). This replaces the import mechanism and hooks it int...
demo/load.js
Clean up demo loader
<ide><path>emo/load.js <ide> var loaderSrc = currentScript.src; <ide> var baseUrl = loaderSrc.split('/').slice(0, -1).join('/') + '/'; <ide> <del> function loadScript(src) { <del> // This does not seem like it would be the best way to do this, but the <del> // timing is different than creating a new script ...
Java
apache-2.0
7ffa2a013be4401df24455c2cefa2a52af5eebbe
0
alibaba/fastjson,alibaba/fastjson,alibaba/fastjson,alibaba/fastjson
/* * Copyright 1999-2017 Alibaba Group. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
src/main/java/com/alibaba/fastjson/JSONArray.java
/* * Copyright 1999-2017 Alibaba Group. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
bug fix for JSONArray.readObject
src/main/java/com/alibaba/fastjson/JSONArray.java
bug fix for JSONArray.readObject
<ide><path>rc/main/java/com/alibaba/fastjson/JSONArray.java <ide> <ide> in.defaultReadObject(); <ide> for (Object item : list) { <del> if (item != null) { <del> ParserConfig.global.checkAutoType(item.getClass().getName(), null); <add> if (item == null) { <add> ...
Java
lgpl-2.1
c3122240e8b904b4aab38da799535bfc2a10d4fc
0
Arabidopsis-Information-Portal/intermine,elsiklab/intermine,Arabidopsis-Information-Portal/intermine,elsiklab/intermine,elsiklab/intermine,elsiklab/intermine,elsiklab/intermine,Arabidopsis-Information-Portal/intermine,elsiklab/intermine,elsiklab/intermine,Arabidopsis-Information-Portal/intermine,Arabidopsis-Information...
package org.intermine.api.query; /* * Copyright (C) 2002-2016 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser.ht...
intermine/api/main/src/org/intermine/api/query/MainHelper.java
package org.intermine.api.query; /* * Copyright (C) 2002-2016 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser.ht...
support for DOES_NOT_CONTAIN in query xml
intermine/api/main/src/org/intermine/api/query/MainHelper.java
support for DOES_NOT_CONTAIN in query xml
<ide><path>ntermine/api/main/src/org/intermine/api/query/MainHelper.java <ide> } else if (ConstraintOp.CONTAINS.equals(op)) { <ide> return new SimpleConstraint(qe, ConstraintOp.MATCHES, <ide> new QueryValue("%" + value + "%")); <add> } else if (ConstraintOp.DOES_NOT_CONTAI...
Java
apache-2.0
cc0b679af9045fbd34be3b31eb8edfdf70a49488
0
androidx/androidx,aosp-mirror/platform_frameworks_support,AndroidX/androidx,aosp-mirror/platform_frameworks_support,androidx/androidx,aosp-mirror/platform_frameworks_support,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,An...
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
v4/java/android/support/v4/app/FragmentManager.java
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
am db1c6057: am fa42920c: am 7fe53f12: am e5579d82: am 1b84066e: Fix support Fragment attribute reading * commit 'db1c6057ee97b2ba1354e13397c4d8dff14f617d': Fix support Fragment attribute reading
v4/java/android/support/v4/app/FragmentManager.java
am db1c6057: am fa42920c: am 7fe53f12: am e5579d82: am 1b84066e: Fix support Fragment attribute reading
<ide><path>4/java/android/support/v4/app/FragmentManager.java <ide> fragment.mTag = tag; <ide> fragment.mInLayout = true; <ide> fragment.mFragmentManager = this; <add> fragment.mHost = mHost; <ide> fragment.onInflate(mHost.getContext(), attrs, fragment.mSavedFr...
Java
mit
error: pathspec 'L2Tests/test/com/microsoft/alm/L2/tfvc/TfvcRootCheckerTest.java' did not match any file(s) known to git
e732435f1e8351ce0c5f187edaae10f1092a33f3
1
Microsoft/vso-intellij,Microsoft/vso-intellij
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See License.txt in the project root. package com.microsoft.alm.L2.tfvc; import com.intellij.openapi.vcs.VcsRootChecker; import com.microsoft.alm.plugin.idea.tfvc.extensions.TfvcRootChecker; import com.microsoft.alm.plugin.services.Pro...
L2Tests/test/com/microsoft/alm/L2/tfvc/TfvcRootCheckerTest.java
TfvcRootChecker: add integration tests for both classic and reactive clients
L2Tests/test/com/microsoft/alm/L2/tfvc/TfvcRootCheckerTest.java
TfvcRootChecker: add integration tests for both classic and reactive clients
<ide><path>2Tests/test/com/microsoft/alm/L2/tfvc/TfvcRootCheckerTest.java <add>// Copyright (c) Microsoft. All rights reserved. <add>// Licensed under the MIT license. See License.txt in the project root. <add> <add>package com.microsoft.alm.L2.tfvc; <add> <add>import com.intellij.openapi.vcs.VcsRootChecker; <add>impor...
Java
mit
0e77ab6a11390f0eb521d28814d00d87f4759fe8
0
feroult/yawp,feroult/yawp,feroult/yawp,feroult/yawp,feroult/yawp,feroult/yawp
package io.yawp.servlet.hierarchy; import io.yawp.commons.utils.ServletTestCase; import io.yawp.repository.models.basic.HookedObject; import io.yawp.repository.models.hierarchy.AnotherObjectSubClass; import io.yawp.repository.models.hierarchy.ObjectSubClass; import org.junit.Test; import static org.junit.Assert.asser...
yawp-core/src/test/java/io/yawp/servlet/hierarchy/HierarchyHookTest.java
package io.yawp.servlet.hierarchy; import io.yawp.commons.utils.ServletTestCase; import io.yawp.repository.models.basic.HookedObject; import io.yawp.repository.models.hierarchy.AnotherObjectSubClass; import io.yawp.repository.models.hierarchy.ObjectSubClass; import org.junit.Ignore; import org.junit.Test; import stat...
genson
yawp-core/src/test/java/io/yawp/servlet/hierarchy/HierarchyHookTest.java
genson
<ide><path>awp-core/src/test/java/io/yawp/servlet/hierarchy/HierarchyHookTest.java <ide> import io.yawp.repository.models.basic.HookedObject; <ide> import io.yawp.repository.models.hierarchy.AnotherObjectSubClass; <ide> import io.yawp.repository.models.hierarchy.ObjectSubClass; <del>import org.junit.Ignore; <ide> impor...
Java
apache-2.0
642dbb424eb9cb3f491081ad246c1077fbf6038d
0
nhelferty/sdn-project,xuraylei/floodlight,alexreimers/floodlight,drinkwithwater/floodlightplus,Pengfei-Lu/floodlight,TidyHuang/floodlight,alsmadi/CSCI-6617,rsharo/floodlight,moisesber/floodlight,drinkwithwater/floodlightplus,Linerd/sdn_optimization,alberthitanaya/floodlight-dnscollector,baykovr/floodlight,drinkwithwate...
package net.floodlightcontroller.virtualnetwork.forwarding; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Se...
src/main/java/net/floodlightcontroller/virtualnetwork/forwarding/VirtualNetworkFilter.java
package net.floodlightcontroller.virtualnetwork.forwarding; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Se...
Change app ID for VirtualNetworkFilter.
src/main/java/net/floodlightcontroller/virtualnetwork/forwarding/VirtualNetworkFilter.java
Change app ID for VirtualNetworkFilter.
<ide><path>rc/main/java/net/floodlightcontroller/virtualnetwork/forwarding/VirtualNetworkFilter.java <ide> /** <ide> * A simple Layer 2 (MAC based) network virtualization module. This module allows <ide> * you to create simple L2 networks (host + gateway) and will drop traffic if <del> * they are not on the same virt...
JavaScript
mit
bdf5e4fe6056309fab7eb86851d6e8ed3fd808f9
0
Frojd/wagtail-geo-widget,Frojd/wagtail-geo-widget,Frojd/wagtail-geo-widget,Frojd/wagtail-geo-widget
"use strict"; function GeoField(options) { var defaultLocation = options.defaultLocation; defaultLocation = new google.maps.LatLng( parseFloat(defaultLocation.lat), parseFloat(defaultLocation.lng) ); this.zoom = options.zoom; this.srid = options.srid; this.sourceField = $(optio...
wagtailgeowidget/static/wagtailgeowidget/js/geo-field.js
"use strict"; function GeoField(options) { var defaultLocation = options.defaultLocation; defaultLocation = new google.maps.LatLng( parseFloat(defaultLocation.lat), parseFloat(defaultLocation.lng) ); this.zoom = options.zoom; this.srid = options.srid; this.sourceField = $(optio...
Style updates (linting/spacing)
wagtailgeowidget/static/wagtailgeowidget/js/geo-field.js
Style updates (linting/spacing)
<ide><path>agtailgeowidget/static/wagtailgeowidget/js/geo-field.js <ide> <ide> var autocomplete = new google.maps.places.Autocomplete(this.addressField[0]); <ide> this.addressField.on("keydown", function(e) { <del> if (e.keyCode === 13) { <del> e.preventDefault(); <del> e.stopPropagation(); ...
Java
bsd-3-clause
28c2c6854ee46ab5464c64c0965b8d1e44148061
0
dagi/GoodData-CL,dagi/GoodData-CL,gooddata/GoodData-CL,dagi/GoodData-CL,gooddata/GoodData-CL,gooddata/GoodData-CL
/* * Copyright (c) 2009, GoodData Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided * that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of con...
cli/src/main/java/com/gooddata/processor/GdcDI.java
/* * Copyright (c) 2009, GoodData Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided * that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of con...
return a non-zero status code on error
cli/src/main/java/com/gooddata/processor/GdcDI.java
return a non-zero status code on error
<ide><path>li/src/main/java/com/gooddata/processor/GdcDI.java <ide> private Connector[] connectors = null; <ide> <ide> private ProcessingContext context = new ProcessingContext(); <add> <add> private boolean finishedSucessfuly = false; <ide> <ide> private static long LOCK_EXPIRATION_TIME = 1000 * ...
JavaScript
bsd-3-clause
91e1a90a347bab71471d2368ee8a35b9609d23a8
0
kbarbounakis/themost,themost-framework/themost,kbarbounakis/themost,kbarbounakis/themost
/** * @license * MOST Web Framework 2.0 Codename Blueshift * Copyright (c) 2017, THEMOST LP All rights reserved * * Use of this source code is governed by an BSD-3-Clause license that can be * found in the LICENSE file at https://themost.io/license */ var formidable = require('formidable'); var _ = require('loda...
modules/@themost/web/handlers/post.js
/** * @license * MOST Web Framework 2.0 Codename Blueshift * Copyright (c) 2017, THEMOST LP All rights reserved * * Use of this source code is governed by an BSD-3-Clause license that can be * found in the LICENSE file at https://themost.io/license */ var formidable = require('formidable'); var _ = require('loda...
updates post handler (corrects unknown values regular expressions by removing global /g flag)
modules/@themost/web/handlers/post.js
updates post handler (corrects unknown values regular expressions by removing global /g flag)
<ide><path>odules/@themost/web/handlers/post.js <ide> <ide> UnknownValue.prototype.toJSON = function() { return null; }; <ide> <del>UnknownValue.DateTimeRegex = /^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])(?:[T ](\d+):(\d+)(?::(\d+)(?:\.(\d+))?)?)?(?:Z(-?\d*))?([+-](\d+):(\d+))?$/g; <del>UnknownValue.BooleanTrueRegex = /^t...
Java
mit
1af1e12b1b83b66b4306ef57ca163bfb142cb6f8
0
nls-oskari/oskari-server,nls-oskari/oskari-server,nls-oskari/oskari-server
package flyway.oskari; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; /** * Database helper for statsgrid migration */ public class ThematicMapsViewHelper { public static long getBundleId...
content-resources/src/main/java/flyway/oskari/ThematicMapsViewHelper.java
package flyway.oskari; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; /** * Database helper for statsgrid migration */ public class ThematicMapsViewHelper { public static long getBundleId...
Optimization now filters new statsgrids out and old ones in as it should and not the other way around
content-resources/src/main/java/flyway/oskari/ThematicMapsViewHelper.java
Optimization now filters new statsgrids out and old ones in as it should and not the other way around
<ide><path>ontent-resources/src/main/java/flyway/oskari/ThematicMapsViewHelper.java <ide> List<ConfigNState> configsAndStates = new ArrayList<>(); <ide> while (rs.next()) { <ide> String startup = rs.getString("startup"); <del> if(bundlePath != null ...
Java
apache-2.0
667b6b022afb8c4b0caece2b105b15ffee290cba
0
dslomov/bazel,aehlig/bazel,davidzchen/bazel,twitter-forks/bazel,dslomov/bazel,ulfjack/bazel,ulfjack/bazel,perezd/bazel,akira-baruah/bazel,dslomov/bazel-windows,werkt/bazel,meteorcloudy/bazel,twitter-forks/bazel,ulfjack/bazel,cushon/bazel,ulfjack/bazel,katre/bazel,werkt/bazel,katre/bazel,twitter-forks/bazel,werkt/bazel,...
// Copyright 2018 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
src/main/java/com/google/devtools/build/lib/remote/blobstore/http/HttpBlobStore.java
// Copyright 2018 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
Fix race condition with releaseUploadChannel(). A race condition can occur in `HttpBlobStore.releaseUploadChannel()` when `ChannelHandlerContext` is closed by `HttpUploadHandler.channelRead0`. Because `ChannelHandlerContext.close` runs asynchronously and closes all pipelines in reverse order (before the channel is mar...
src/main/java/com/google/devtools/build/lib/remote/blobstore/http/HttpBlobStore.java
Fix race condition with releaseUploadChannel().
<ide><path>rc/main/java/com/google/devtools/build/lib/remote/blobstore/http/HttpBlobStore.java <ide> import java.net.SocketAddress; <ide> import java.net.URI; <ide> import java.util.List; <add>import java.util.NoSuchElementException; <ide> import java.util.concurrent.ExecutionException; <ide> import java.util.concurren...
Java
epl-1.0
cac505c9635f45b4c5c47285f9bbab96309be6fd
0
cmaoling/portfolio,cmaoling/portfolio,buchen/portfolio,sebasbaumh/portfolio,cmaoling/portfolio,buchen/portfolio,cmaoling/portfolio,buchen/portfolio,sebasbaumh/portfolio,sebasbaumh/portfolio,sebasbaumh/portfolio,buchen/portfolio
package name.abuchen.portfolio.ui.util.swt; import java.util.ArrayList; import java.util.List; import org.eclipse.jface.action.IMenuListener; import org.eclipse.swt.SWT; import org.eclipse.swt.events.MouseEvent; import org.eclipse.swt.events.MouseListener; import org.eclipse.swt.events.MouseMoveListener; import org.e...
name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/util/swt/SashLayout.java
package name.abuchen.portfolio.ui.util.swt; import java.util.ArrayList; import java.util.List; import org.eclipse.jface.action.IMenuListener; import org.eclipse.swt.SWT; import org.eclipse.swt.events.MouseEvent; import org.eclipse.swt.events.MouseListener; import org.eclipse.swt.events.MouseMoveListener; import org.e...
Made sash divider invisible unless mouse is hovering over divider
name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/util/swt/SashLayout.java
Made sash divider invisible unless mouse is hovering over divider
<ide><path>ame.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/util/swt/SashLayout.java <ide> public void mouseExit(MouseEvent e) <ide> { <ide> host.setCursor(null); <add> divider.setVisible(false); <add> } <add> <add> @Override <add> public void mouseEnter...
Java
mit
error: pathspec '14/E14_10/E14_10.java' did not match any file(s) known to git
351b1c992a8b5def24cad2aa1e9dafee1cf945b8
1
maxalthoff/intro-to-java-exercises
/* Write a program that draws a cylinder. */ import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.shape.Arc; import javafx.scene.shape.ArcType; import javafx.scene.shape.Line; import javafx.scene.layout.Pane; import javafx.scene.layout.StackPane; import jav...
14/E14_10/E14_10.java
Chapter 14, Exercise 10
14/E14_10/E14_10.java
Chapter 14, Exercise 10
<ide><path>4/E14_10/E14_10.java <add>/* <add> Write a program that draws a cylinder. <add>*/ <add> <add>import javafx.application.Application; <add>import javafx.stage.Stage; <add>import javafx.scene.Scene; <add>import javafx.scene.shape.Arc; <add>import javafx.scene.shape.ArcType; <add>import javafx.scene.shape.Line;...
Java
apache-2.0
a2ea70011fdb58f928a336f57df1bdf35ccf8993
0
nssales/OG-Platform,codeaudit/OG-Platform,jerome79/OG-Platform,codeaudit/OG-Platform,McLeodMoores/starling,nssales/OG-Platform,ChinaQuants/OG-Platform,ChinaQuants/OG-Platform,DevStreet/FinanceAnalytics,jerome79/OG-Platform,McLeodMoores/starling,ChinaQuants/OG-Platform,DevStreet/FinanceAnalytics,codeaudit/OG-Platform,je...
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.livedata.client; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.concurrent.CountDo...
projects/OG-LiveData/src/main/java/com/opengamma/livedata/client/DistributedEntitlementChecker.java
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.livedata.client; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Map; import java.util.concurrent.CountDo...
Fix Checkstyle error
projects/OG-LiveData/src/main/java/com/opengamma/livedata/client/DistributedEntitlementChecker.java
Fix Checkstyle error
<ide><path>rojects/OG-LiveData/src/main/java/com/opengamma/livedata/client/DistributedEntitlementChecker.java <ide> // The entitlement check completely and utterly screws up the market data <ide> // server for Activ, wiping out valid resolved ids. As the result of the <ide> // entitlement check is currently...
Java
apache-2.0
5333bb4b960cbfbd19ff1db0a3a65338d77b8c3e
0
talklittle/liquibase,ivaylo5ev/liquibase,evigeant/liquibase,cleiter/liquibase,balazs-zsoldos/liquibase,fossamagna/liquibase,mortegac/liquibase,iherasymenko/liquibase,dprguard2000/liquibase,dprguard2000/liquibase,instantdelay/liquibase,mattbertolini/liquibase,dyk/liquibase,tjardo83/liquibase,Datical/liquibase,mattbertol...
package liquibase.resource; import liquibase.util.FileUtil; import liquibase.util.StringUtils; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.*; import java.util.*; /** * An implementation of {@link liquibase.resource.ResourceAccessor} that wraps a class loader. */ pub...
liquibase-core/src/main/java/liquibase/resource/ClassLoaderResourceAccessor.java
package liquibase.resource; import liquibase.util.FileUtil; import liquibase.util.StringUtils; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.*; import java.util.*; /** * An implementation of {@link liquibase.resource.ResourceAccessor} that wraps a class loader. */ pub...
classloader roots can duplicate up on URLs
liquibase-core/src/main/java/liquibase/resource/ClassLoaderResourceAccessor.java
classloader roots can duplicate up on URLs
<ide><path>iquibase-core/src/main/java/liquibase/resource/ClassLoaderResourceAccessor.java <ide> if (resources == null || !resources.hasMoreElements()) { <ide> return null; <ide> } <add> Set<String> seenUrls = new HashSet<String>(); <ide> Set<InputStream> returnSet = new HashS...
Java
apache-2.0
afef6f84f5e796ebfc9af86c233b6b8cde2f4319
0
jruesga/rview,jruesga/rview,jruesga/rview
/* * Copyright (C) 2016 Jorge Ruesga * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
app/src/main/java/com/ruesga/rview/misc/PicassoHelper.java
/* * Copyright (C) 2016 Jorge Ruesga * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Synchronize avatar urls isempty check access as well Signed-off-by: Jorge Ruesga <33f927344e079e00d3fa45d8833b04e735223eec@ruesga.com>
app/src/main/java/com/ruesga/rview/misc/PicassoHelper.java
Synchronize avatar urls isempty check access as well
<ide><path>pp/src/main/java/com/ruesga/rview/misc/PicassoHelper.java <ide> <ide> private static void loadWithFallbackUrls(final Picasso picasso, final ImageView view, <ide> final Drawable placeholder, final List<String> urls) { <del> if (!urls.isEmpty()) { <del> final String nextUrl =...
JavaScript
apache-2.0
9393d03992425e0564c96e96f23dc327f5180162
0
jitsi/lib-jitsi-meet,jitsi/lib-jitsi-meet
import { getLogger } from '@jitsi/logger'; import { Interop } from '@jitsi/sdp-interop'; import transform from 'sdp-transform'; import * as CodecMimeType from '../../service/RTC/CodecMimeType'; import MediaDirection from '../../service/RTC/MediaDirection'; import * as MediaType from '../../service/RTC/MediaType'; impo...
modules/RTC/TraceablePeerConnection.js
import { getLogger } from '@jitsi/logger'; import { Interop } from '@jitsi/sdp-interop'; import transform from 'sdp-transform'; import * as CodecMimeType from '../../service/RTC/CodecMimeType'; import MediaDirection from '../../service/RTC/MediaDirection'; import * as MediaType from '../../service/RTC/MediaType'; impo...
ref(TPC) Remove an unnecessary toUnified sdp conversion. sLD is called immediately after createOffer/createAnswer, therefore the desc provided by createOffer/createAnswer can be directly passed to sLD without the need for converting it to unified plan format. This also fixes a warning seen on the browser console that s...
modules/RTC/TraceablePeerConnection.js
ref(TPC) Remove an unnecessary toUnified sdp conversion. sLD is called immediately after createOffer/createAnswer, therefore the desc provided by createOffer/createAnswer can be directly passed to sLD without the need for converting it to unified plan format. This also fixes a warning seen on the browser console that s...
<ide><path>odules/RTC/TraceablePeerConnection.js <ide> * the local description. <ide> * @private <ide> */ <del>TraceablePeerConnection.prototype._ensureSimulcastGroupIsLast = function( <del> localSdp) { <add>TraceablePeerConnection.prototype._ensureSimulcastGroupIsLast = function(localSdp) { <ide> let sdp...
Java
apache-2.0
b367516d3b409e26fa2a280bcb15c2cfedda6762
0
plus-provenance/plus,caturday/plus,caturday/plus,caturday/plus,plus-provenance/plus,caturday/plus,plus-provenance/plus,plus-provenance/plus
/* Copyright 2014 MITRE Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
src/main/java/org/mitre/provenance/services/DAGServices.java
/* Copyright 2014 MITRE Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
made getGraph() more generic, permitted PROV-XML serialization
src/main/java/org/mitre/provenance/services/DAGServices.java
made getGraph() more generic, permitted PROV-XML serialization
<ide><path>rc/main/java/org/mitre/provenance/services/DAGServices.java <ide> <ide> @GET <ide> @Path("/{oid:.*}") <del> @Produces(MediaType.APPLICATION_JSON) <add> @Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML}) <ide> /** <ide> * Gets a provenance graph centered at a particular point, in D3 JSO...
JavaScript
mit
c44c4920df51e08bedd58547df7e9058b52f80bd
0
PittsburghPG/pa-campaign-finance,PittsburghPG/pa-campaign-finance
$(document).ready(function() { /* var mapOptions = { zoom: 8, center: new google.maps.LatLng(40.4450813, -80.00877459999998), disableDefaultUI: true }; map = new google.maps.Map(document.getElementById('map_canvas'), mapOptions);*/ //parse url var pathname = window.location.pathname; //get cu...
js/scripts.js
$(document).ready(function() { /* var mapOptions = { zoom: 8, center: new google.maps.LatLng(40.4450813, -80.00877459999998), disableDefaultUI: true }; map = new google.maps.Map(document.getElementById('map_canvas'), mapOptions);*/ //parse url var pathname = window.location.pathname; //get cu...
fixed bug
js/scripts.js
fixed bug
<ide><path>s/scripts.js <ide> h = $(map.node()).height(); <ide> <ide> var counties = []; <del> $.getJSON("api/counties", function(countiesJSON){ <del> $.each(countiesJSON.results, function(i, county){ <del> county.beneficiaries.sort(function(a,b){ <del> return +b.amount - +a.amount; <add> $.getJSON("api/c...
JavaScript
mit
9a130f34a7a8a70d334909ed47a37431ff17a91e
0
zubairq/gosharedata,zubairq/yazz,zubairq/gosharedata,zubairq/yazz
function(args) { /* is_app(true) control_type("VB") display_name("3d control") description("This will return the 3d container control") base_component_id("container_3d") load_once_from_file(true) visibility("PRIVATE") read_only(true) properties( [ { id: "text", name: "Text", ...
public/visifile_drivers/controls/container_3d.js
function(args) { /* is_app(true) control_type("VB") display_name("3d control") description("This will return the 3d container control") base_component_id("container_3d") load_once_from_file(true) visibility("PRIVATE") read_only(true) properties( [ { id: "text", name: "Text", ...
Can trap backspace, delete, and enter in 3d container
public/visifile_drivers/controls/container_3d.js
Can trap backspace, delete, and enter in 3d container
<ide><path>ublic/visifile_drivers/controls/container_3d.js <ide> { <ide> id: "keydown_event", <ide> name: "Key Down Event", <add> type: "Event" <add> } <add> , <add> { <add> id: "backspace_event", <add> name: "BackspaceE...
Java
apache-2.0
e859d4004c0c9f1257aa39c88ed80630c8f0f032
0
TheNephilim88/andlytics,willlunniss/andlytics,willlunniss/andlytics,AndyScherzinger/andlytics,d4rken/andlytics,TheNephilim88/andlytics,AndyScherzinger/andlytics,nelenkov/andlytics
package com.github.andlyticsproject.console.v2; import android.annotation.TargetApi; import android.os.Build; import android.util.JsonReader; import android.util.Log; import com.github.andlyticsproject.console.DevConsoleException; import com.github.andlyticsproject.model.AppDetails; import com.github.andlyticsproject...
src/com/github/andlyticsproject/console/v2/JsonParser.java
package com.github.andlyticsproject.console.v2; import android.annotation.TargetApi; import android.os.Build; import android.util.JsonReader; import android.util.Log; import com.github.andlyticsproject.console.DevConsoleException; import com.github.andlyticsproject.model.AppDetails; import com.github.andlyticsproject...
Fixed comment parsing, translation json does not always contain a body field ("3").
src/com/github/andlyticsproject/console/v2/JsonParser.java
Fixed comment parsing, translation json does not always contain a body field ("3").
<ide><path>rc/com/github/andlyticsproject/console/v2/JsonParser.java <ide> if (translation != null) { <ide> String displayLanguage = Locale.getDefault().getLanguage(); <ide> String translationLang = translation.getString("1"); <del> String translationText = translation.getString("3"); <del> if (transla...
Java
apache-2.0
32b33bea0fe1e823d5f5202be02c4894fc194d97
0
mufaddalq/cloudstack-datera-driver,mufaddalq/cloudstack-datera-driver,mufaddalq/cloudstack-datera-driver,mufaddalq/cloudstack-datera-driver,mufaddalq/cloudstack-datera-driver,mufaddalq/cloudstack-datera-driver
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
server/src/com/cloud/storage/VolumeManagerImpl.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
CLOUDSTACK-4244. Unable to attach a volume to a VM deployed in Stopped (startvm=false) state. While attaching a volume to a VM, create volume on the hypervisor only if the VM has been started on the it.
server/src/com/cloud/storage/VolumeManagerImpl.java
CLOUDSTACK-4244. Unable to attach a volume to a VM deployed in Stopped (startvm=false) state. While attaching a volume to a VM, create volume on the hypervisor only if the VM has been started on the it.
<ide><path>erver/src/com/cloud/storage/VolumeManagerImpl.java <ide> <ide> deviceId = getDeviceId(vmId, deviceId); <ide> VolumeInfo volumeOnPrimaryStorage = volume; <del> if (volume.getState().equals(Volume.State.Allocated) <del> || volume.getState() == Volume.State.Uploaded) { <de...
Java
apache-2.0
69f47a5e13492162e057f366083b33f97d788e23
0
bessovistnyj/jvm-byte-code,bessovistnyj/jvm-byte-code
package ru.napadovskiuB.ArraySet; import java.util.Arrays; import java.util.Iterator; import java.util.NoSuchElementException; /** * Package of CollectionPro testTask. * * @author Napadovskiy Bohdan * @version 1.0 * @param <T> generic. * @since 10.07.2017 */ public class SimpleArraySet<T> implements Iterable<T...
CollectionPro/Set/src/main/java/ru/napadovskiuB/ArraySet/SimpleArraySet.java
package ru.napadovskiuB.ArraySet; import java.util.Arrays; import java.util.Iterator; import java.util.NoSuchElementException; /** * Package of CollectionPro testTask. * * @author Napadovskiy Bohdan * @version 1.0 * @param <T> generic. * @since 10.07.2017 */ public class SimpleArraySet<T> implements Iterable<T...
add task 1. Реализовать коллекцию Set на массиве
CollectionPro/Set/src/main/java/ru/napadovskiuB/ArraySet/SimpleArraySet.java
add task 1. Реализовать коллекцию Set на массиве
<ide><path>ollectionPro/Set/src/main/java/ru/napadovskiuB/ArraySet/SimpleArraySet.java <ide> public SimpleArraySet(int size) { <ide> this.mainArray = new Object[size]; <ide> this.indexForWrite = 0; <del> <ide> } <ide> <ide> <ide> private void resizeArray() { <ide> int newCapacity =...
Java
apache-2.0
error: pathspec 'src/com/mainmethod/trailmix1/sqlite/model/Placemark.java' did not match any file(s) known to git
c5d4230262f1fde0ecd51e33d8d5f122054e7602
1
MainMethod1/TrailMix-for-peel-android,MainMethod1/TrailMix-for-peel-android
package com.mainmethod.trailmix1.sqlite.model; public class Placemark { int id; int trail_id; public Placemark(int id, int trail_id) { // TODO Auto-generated constructor stub this.id = id; this.trail_id = trail_id; } public Placemark() { // TODO Auto-generated constructor stub } public int getId()...
src/com/mainmethod/trailmix1/sqlite/model/Placemark.java
Added placemark model class
src/com/mainmethod/trailmix1/sqlite/model/Placemark.java
Added placemark model class
<ide><path>rc/com/mainmethod/trailmix1/sqlite/model/Placemark.java <add>package com.mainmethod.trailmix1.sqlite.model; <add> <add>public class Placemark { <add> <add> int id; <add> int trail_id; <add> <add> public Placemark(int id, int trail_id) { <add> // TODO Auto-generated constructor stub <add> this.id = id; <a...
Java
epl-1.0
84cf2b6328a7fb13b55b8e35b519b3d33b36c393
0
theanuradha/debrief,alastrina123/debrief,pecko/debrief,theanuradha/debrief,pecko/debrief,pecko/debrief,alastrina123/debrief,debrief/debrief,debrief/debrief,pecko/debrief,alastrina123/debrief,pecko/debrief,debrief/debrief,theanuradha/debrief,pecko/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief,alastrina...
/** * */ package MWC.TacticalData; import java.beans.IntrospectionException; import java.beans.PropertyDescriptor; import java.io.Serializable; import java.util.Date; import MWC.GUI.Editable; import MWC.GUI.ExcludeFromRightClickEdit; import MWC.GUI.FireExtended; import MWC.GUI.FireReformatted; import...
trunk/org.mwc.cmap.legacy/src/MWC/TacticalData/NarrativeEntry.java
/** * */ package MWC.TacticalData; import java.beans.IntrospectionException; import java.beans.PropertyDescriptor; import java.io.Serializable; import java.util.Date; import MWC.GUI.Editable; import MWC.GUI.ExcludeFromRightClickEdit; import MWC.GUI.FireExtended; import MWC.GUI.FireReformatted; import...
Fixed the comparision: allow to add 2 narrative entries of the same time
trunk/org.mwc.cmap.legacy/src/MWC/TacticalData/NarrativeEntry.java
Fixed the comparision: allow to add 2 narrative entries of the same time
<ide><path>runk/org.mwc.cmap.legacy/src/MWC/TacticalData/NarrativeEntry.java <ide> public final int compareTo(final Plottable o) <ide> { <ide> final NarrativeEntry other = (NarrativeEntry) o; <del> return _DTG.compareTo(other._DTG); <add> int result = _DTG.compareTo(other._DTG); <add> if (result == 0) <add> re...
Java
mit
abf1b5e76a9589a34e5ac7f06732fbdd7dfae525
0
elBukkit/MagicPlugin,elBukkit/MagicLib,elBukkit/MagicPlugin,elBukkit/MagicPlugin
package com.elmakers.mine.bukkit.action; import com.elmakers.mine.bukkit.api.block.MaterialBrush; import com.elmakers.mine.bukkit.api.effect.EffectPlay; import com.elmakers.mine.bukkit.api.effect.EffectPlayer; import com.elmakers.mine.bukkit.api.magic.Mage; import com.elmakers.mine.bukkit.api.magic.MageController; imp...
src/main/java/com/elmakers/mine/bukkit/action/CastContext.java
package com.elmakers.mine.bukkit.action; import com.elmakers.mine.bukkit.api.block.MaterialBrush; import com.elmakers.mine.bukkit.api.effect.EffectPlay; import com.elmakers.mine.bukkit.api.effect.EffectPlayer; import com.elmakers.mine.bukkit.api.magic.Mage; import com.elmakers.mine.bukkit.api.magic.MageController; imp...
Trust our internal safety TP checks more than the vanilla ones. Vanilla ones put you on top of the nether.
src/main/java/com/elmakers/mine/bukkit/action/CastContext.java
Trust our internal safety TP checks more than the vanilla ones. Vanilla ones put you on top of the nether.
<ide><path>rc/main/java/com/elmakers/mine/bukkit/action/CastContext.java <ide> return; <ide> } <ide> <del> playEffects("teleport"); <del> <ide> registerMoved(entity); <ide> Location targetLocation = findPlaceToStand(location, verticalSearchDistance); <ide> if (targetL...
JavaScript
bsd-3-clause
f8348b8230ccf2f03afd167e19f6827728a96965
0
greggman/HappyFunTimes,greggman/HappyFunTimes,LDodson/HappyFunTimes,LDodson/HappyFunTimes
/* * Copyright 2014, Gregg Tavares. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
server/server.js
/* * Copyright 2014, Gregg Tavares. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
lint server.js
server/server.js
lint server.js
<ide><path>erver/server.js <ide> * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. <ide> */ <ide> <del>"use strict"; <add>/*eslint no-process-exit:0*/ <add> <add>'use strict'; <ide> <ide> var settingsOptionSpec = { <ide> option: 'settings', type: 'String', description: 'settin...
Java
epl-1.0
d4fee4eb690d46f879d05765a41825ac7018fe49
0
522986491/controller,mandeepdhami/controller,inocybe/odl-controller,inocybe/odl-controller,mandeepdhami/controller,tx1103mark/controller,mandeepdhami/controller,opendaylight/controller,tx1103mark/controller,Johnson-Chou/test,tx1103mark/controller,Sushma7785/OpenDayLight-Load-Balancer,Sushma7785/OpenDayLight-Load-Balanc...
/* * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/util/NetconfMessageTransformUtil.java
/* * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
Make constants really constant This triggers a major sonar warning, and is insecure as these fields could get modified by anyone, throwing the system out of whack. Also optimize comparison and make sure the netconf QNameModule is cached. Also prevent unneeded QName instantiation. Also use an immutable list to hold ar...
opendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/util/NetconfMessageTransformUtil.java
Make constants really constant
<ide><path>pendaylight/md-sal/sal-netconf-connector/src/main/java/org/opendaylight/controller/sal/connect/netconf/util/NetconfMessageTransformUtil.java <ide> <ide> import com.google.common.base.Optional; <ide> import com.google.common.base.Preconditions; <add>import com.google.common.collect.ImmutableList; <ide> impor...
Java
apache-2.0
17c87fed1e022763a2896b675caefe42d5a9784a
0
ceylon/ceylon-js,ceylon/ceylon-js,ceylon/ceylon-js
package com.redhat.ceylon.compiler.js; import java.io.IOException; import java.io.StringWriter; import java.io.Writer; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Stack; import org.antlr.runtime.Com...
src/main/java/com/redhat/ceylon/compiler/js/GenerateJsVisitor.java
package com.redhat.ceylon.compiler.js; import java.io.IOException; import java.io.Writer; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Stack; import org.antlr.runtime.CommonToken; import com.redhat....
fix super member access for attributes
src/main/java/com/redhat/ceylon/compiler/js/GenerateJsVisitor.java
fix super member access for attributes
<ide><path>rc/main/java/com/redhat/ceylon/compiler/js/GenerateJsVisitor.java <ide> package com.redhat.ceylon.compiler.js; <ide> <ide> import java.io.IOException; <add>import java.io.StringWriter; <ide> import java.io.Writer; <ide> import java.util.ArrayList; <ide> import java.util.HashMap; <ide> private List<? ext...
Java
apache-2.0
7d148f344719aa0a2c58fb7e483c42de25682a7b
0
Valkryst/VTerminal
package com.valkryst.AsciiPanel; import com.valkryst.AsciiPanel.component.AsciiScreen; import javafx.scene.canvas.Canvas; import javafx.scene.canvas.GraphicsContext; import lombok.Getter; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class AsciiPanel extends Canvas { /...
src/com/valkryst/AsciiPanel/AsciiPanel.java
package com.valkryst.AsciiPanel; import com.valkryst.AsciiPanel.component.AsciiComponent; import com.valkryst.AsciiPanel.component.AsciiScreen; import javafx.scene.canvas.Canvas; import javafx.scene.canvas.GraphicsContext; import lombok.Getter; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4...
AsciiScreens can now have a unique set of components associated with themselves.
src/com/valkryst/AsciiPanel/AsciiPanel.java
AsciiScreens can now have a unique set of components associated with themselves.
<ide><path>rc/com/valkryst/AsciiPanel/AsciiPanel.java <ide> package com.valkryst.AsciiPanel; <ide> <del>import com.valkryst.AsciiPanel.component.AsciiComponent; <ide> import com.valkryst.AsciiPanel.component.AsciiScreen; <ide> import javafx.scene.canvas.Canvas; <ide> import javafx.scene.canvas.GraphicsContext; <ide> i...
Java
mit
f018bd0065ec6276c7d94a071305e4515918793e
0
NamelessMC/Nameless-Java-API,NamelessMC/Nameless-Plugin-API
package com.namelessmc.NamelessAPI; import static com.namelessmc.NamelessAPI.Request.RequestMethod.GET; import static com.namelessmc.NamelessAPI.Request.RequestMethod.POST; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.net.Htt...
src/com/namelessmc/NamelessAPI/Request.java
package com.namelessmc.NamelessAPI; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.util.Arrays; import java.util.List; import java.ut...
Just enter action names manually
src/com/namelessmc/NamelessAPI/Request.java
Just enter action names manually
<ide><path>rc/com/namelessmc/NamelessAPI/Request.java <ide> package com.namelessmc.NamelessAPI; <add> <add>import static com.namelessmc.NamelessAPI.Request.RequestMethod.GET; <add>import static com.namelessmc.NamelessAPI.Request.RequestMethod.POST; <ide> <ide> import java.io.BufferedReader; <ide> import java.io.DataOu...
Java
mit
17d31de00d6fcc5250a2c4f8c643c83f5ac724c5
0
Fundynamic/dune2themaker4j,Fundynamic/dune2themaker4j
package com.fundynamic.d2tm.game.math; public class Vector2D<T extends Number> { private final T x, y; public static Vector2D zero() { return new Vector2D(0, 0); } public Vector2D(T x, T y) { this.x = x; this.y = y; } public T getX() { return x; } pu...
src/main/java/com/fundynamic/d2tm/game/math/Vector2D.java
package com.fundynamic.d2tm.game.math; public class Vector2D<T extends Number> { private final T x, y; public static Vector2D zero() { return new Vector2D(0, 0); } public Vector2D(T x, T y) { this.x = x; this.y = y; } public T getX() { return x; } pu...
Add toString for better logging/output
src/main/java/com/fundynamic/d2tm/game/math/Vector2D.java
Add toString for better logging/output
<ide><path>rc/main/java/com/fundynamic/d2tm/game/math/Vector2D.java <ide> int newY = y.intValue(); <ide> return new Vector2D<>(newX, newY); <ide> } <add> <add> @Override <add> public String toString() { <add> return "Vector2D{" + <add> "x=" + x + <add> ", y...
Java
agpl-3.0
c3c65117b2c3b71b152f6552f8a97fa5c28f4277
0
wbaumann/SmartReceiptsLibrary,JuliaSoboleva/SmartReceiptsLibrary,JuliaSoboleva/SmartReceiptsLibrary,wbaumann/SmartReceiptsLibrary,wbaumann/SmartReceiptsLibrary,JuliaSoboleva/SmartReceiptsLibrary
package co.smartreceipts.android.fragments; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.ActionBar; import android.support.v7.widget.Toolbar; import android.tex...
SmartReceiptsLibrary/src/main/java/co/smartreceipts/android/fragments/ReceiptCreateEditFragment.java
package co.smartreceipts.android.fragments; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v7.app.ActionBar; import android.support.v7.widget.Toolbar; import android.tex...
Fixed a bug in which the exchange rates failed to apply if cached
SmartReceiptsLibrary/src/main/java/co/smartreceipts/android/fragments/ReceiptCreateEditFragment.java
Fixed a bug in which the exchange rates failed to apply if cached
<ide><path>martReceiptsLibrary/src/main/java/co/smartreceipts/android/fragments/ReceiptCreateEditFragment.java <ide> public void onUserSelectedNewItem(AdapterView<?> parent, View view, int position, long id, int previousPosition) { <ide> // Then determine if we should show/hide the box <ide>...
Java
apache-2.0
a10ccb7550694a8c7a2d0372e838d2b5cc903f69
0
chamikaramj/beam,chamikaramj/beam,robertwb/incubator-beam,apache/beam,lukecwik/incubator-beam,chamikaramj/beam,chamikaramj/beam,chamikaramj/beam,lukecwik/incubator-beam,robertwb/incubator-beam,robertwb/incubator-beam,robertwb/incubator-beam,apache/beam,chamikaramj/beam,apache/beam,chamikaramj/beam,apache/beam,lukecwik/...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
examples/java/src/test/java/org/apache/beam/examples/snippets/transforms/io/gcp/bigquery/BigQuerySamplesIT.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
[BEAM-11053] Set projectId in BigQuery service.
examples/java/src/test/java/org/apache/beam/examples/snippets/transforms/io/gcp/bigquery/BigQuerySamplesIT.java
[BEAM-11053] Set projectId in BigQuery service.
<ide><path>xamples/java/src/test/java/org/apache/beam/examples/snippets/transforms/io/gcp/bigquery/BigQuerySamplesIT.java <ide> public class BigQuerySamplesIT { <ide> private static final String PROJECT = <ide> TestPipeline.testingPipelineOptions().as(GcpOptions.class).getProject(); <del> private static final ...
Java
mit
7c3354fdced54ec051315167db55120440e084d7
0
AndrewQuijano/SSTREU2017
SQLRead.java
import java.math.BigInteger; import java.sql.*; import java.util.ArrayList; import java.util.HashMap; /** * A Java MySQL SELECT statement example. * Demonstrates the use of a SQL SELECT statement against a * MySQL database, called from a Java program. * * Created by Alvin Alexander, http://devdaily.com */ publi...
Delete SQLRead.java
SQLRead.java
Delete SQLRead.java
<ide><path>QLRead.java <del>import java.math.BigInteger; <del>import java.sql.*; <del>import java.util.ArrayList; <del>import java.util.HashMap; <del> <del>/** <del> * A Java MySQL SELECT statement example. <del> * Demonstrates the use of a SQL SELECT statement against a <del> * MySQL database, called from a Java progr...
Java
apache-2.0
b3dba1f864be27403763aa8a172710530f9a7307
0
softindex/datakernel,softindex/datakernel,softindex/datakernel
/* * Copyright (C) 2015 SoftIndex LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
cube/src/main/java/io/datakernel/cube/api/DimensionsRequestHandler.java
/* * Copyright (C) 2015 SoftIndex LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Fix DimensionsRequestHandler
cube/src/main/java/io/datakernel/cube/api/DimensionsRequestHandler.java
Fix DimensionsRequestHandler
<ide><path>ube/src/main/java/io/datakernel/cube/api/DimensionsRequestHandler.java <ide> <ide> package io.datakernel.cube.api; <ide> <add>import com.google.common.base.Function; <ide> import com.google.common.base.Predicate; <ide> import com.google.common.collect.Iterables; <ide> import com.google.gson.Gson; <ide> ...
JavaScript
agpl-3.0
53df74540357a7e4074851681550ecbe1998390d
0
StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native,StoDevX/AAO-React-Native
// @flow import {AppRegistry, YellowBox} from 'react-native' import App from './app' YellowBox.ignoreWarnings(['Invalid prop `containerTagName`']) AppRegistry.registerComponent('AllAboutOlaf', () => App)
source/root.js
// @flow import {AppRegistry, YellowBox} from 'react-native' import App from './app' YellowBox.ignoreWarnings([]) AppRegistry.registerComponent('AllAboutOlaf', () => App)
Ignore specific proptype warning for react markdown
source/root.js
Ignore specific proptype warning for react markdown
<ide><path>ource/root.js <ide> import {AppRegistry, YellowBox} from 'react-native' <ide> import App from './app' <ide> <del>YellowBox.ignoreWarnings([]) <add>YellowBox.ignoreWarnings(['Invalid prop `containerTagName`']) <ide> <ide> AppRegistry.registerComponent('AllAboutOlaf', () => App)
Java
mit
2fa1a9c8f8fb64e6ee6f2f61f7686f9ae4835b41
0
JOML-CI/JOML,JOML-CI/JOML,JOML-CI/JOML
package org.joml.test; import java.util.Random; import junit.framework.TestCase; import org.joml.Matrix4f; import org.joml.TrapezoidOrthoCrop; import org.joml.Vector3f; /** * Tests for the {@link TrapezoidOrthoCrop} class. * * @author Kai Burjack */ public class TrapezoidOrthoCropTest extends TestCase { p...
test/org/joml/test/TrapezoidOrthoCropTest.java
package org.joml.test; import java.util.Random; import junit.framework.TestCase; import org.joml.Matrix4f; import org.joml.TrapezoidOrthoCrop; import org.joml.Vector3f; /** * Tests for the {@link TrapezoidOrthoCrop} class. * * @author Kai Burjack */ public class TrapezoidOrthoCropTest extends TestCase { p...
Fix test
test/org/joml/test/TrapezoidOrthoCropTest.java
Fix test
<ide><path>est/org/joml/test/TrapezoidOrthoCropTest.java <ide> Matrix4f crop = new TrapezoidOrthoCrop().compute(camViewProj, lightView, 3.0f, new Matrix4f()); <ide> Vector3f corner = new Vector3f(); <ide> Random rnd = new Random(); <del> float minZ = Float.MAX_VALUE, maxZ = -Float.MAX_VAL...
Java
lgpl-2.1
8b1ee8634e7fee9dbbfc941a89b70f34707875df
0
ggiudetti/opencms-core,alkacon/opencms-core,gallardo/opencms-core,ggiudetti/opencms-core,it-tavis/opencms-core,gallardo/opencms-core,gallardo/opencms-core,MenZil/opencms-core,it-tavis/opencms-core,victos/opencms-core,it-tavis/opencms-core,gallardo/opencms-core,victos/opencms-core,mediaworx/opencms-core,MenZil/opencms-c...
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free So...
test/org/opencms/test/OpenCmsTestCase.java
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free So...
Changed catch block.
test/org/opencms/test/OpenCmsTestCase.java
Changed catch block.
<ide><path>est/org/opencms/test/OpenCmsTestCase.java <ide> try { <ide> propertyFile = getTestDataPath("WEB-INF/config." + m_dbProduct + "/opencms.properties"); <ide> m_configuration = new CmsParameterConfiguration(propertyFile); <del> } catch (IOException e) { <add...
Java
mit
c6c78a232e2fa812346aa6b9c19f785166d7189d
0
OrrinWick/Lab6
/* * Copyright (c) 2010, Oracle. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions ...
src/com/toy/anagrams/lib/StaticWordLibrary.java
/* * Copyright (c) 2010, Oracle. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions ...
Update StaticWordLibrary.java Changed online :P
src/com/toy/anagrams/lib/StaticWordLibrary.java
Update StaticWordLibrary.java
<ide><path>rc/com/toy/anagrams/lib/StaticWordLibrary.java <ide> * contributors may be used to endorse or promote products derived <ide> * from this software without specific prior written permission. <ide> * <add> * changing things up :) <ide> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUT...
JavaScript
mit
2720ace605974b6f2589d89010da871372f2b527
0
pivotalexperimental/jelly,pivotalexperimental/jelly
if(!window.Jelly) Jelly = new Object(); (Jelly.defineAjaxWithJellyFunctions = function($) { $.ajaxWithJelly = function(params) { $.ajax($.ajaxWithJelly.params(params)); }; if ($.fn.ajaxForm) { $.fn.ajaxFormWithJelly = function(params) { this.ajaxForm($.ajaxWithJelly.params(params)); }; } ...
generators/jelly/templates/javascripts/ajax_with_jelly.js
if(!window.Jelly) Jelly = new Object(); (Jelly.defineAjaxWithJellyFunctions = function($) { $.ajaxWithJelly = function(params) { $.ajax($.ajaxWithJelly.params(params)); }; if ($.fn.ajaxForm) { $.fn.ajaxFormWithJelly = function(params) { this.ajaxForm($.ajaxWithJelly.params(params)); }; } ...
Going back to make things easier to test.
generators/jelly/templates/javascripts/ajax_with_jelly.js
Going back to make things easier to test.
<ide><path>enerators/jelly/templates/javascripts/ajax_with_jelly.js <ide> return $.extend({ <ide> dataType: 'json', <ide> cache: false, <del> success : Jelly.notifyObservers.bind(observers) <add> success : function(callbacks) { <add> Jelly.notifyObservers.call(observers, callbacks); <ad...
Java
apache-2.0
896f4e210ca64a64b661a4c84d078cfd7f8f8925
0
GovernmentCommunicationsHeadquarters/Gaffer,gchq/Gaffer,GovernmentCommunicationsHeadquarters/Gaffer,gchq/Gaffer,GovernmentCommunicationsHeadquarters/Gaffer,gchq/Gaffer,GovernmentCommunicationsHeadquarters/Gaffer,gchq/Gaffer
package uk.gov.gchq.gaffer.accumulostore.operation.hdfs.reducer; import org.apache.accumulo.core.data.ByteSequence; import org.apache.accumulo.core.data.Key; import org.apache.accumulo.core.data.Value; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.mapreduce.Counter; import org.apache.hadoop.map...
store-implementation/accumulo-store/src/test/java/uk/gov/gchq/gaffer/accumulostore/operation/hdfs/reducer/AccumuloKeyValueReducerTest.java
package uk.gov.gchq.gaffer.accumulostore.operation.hdfs.reducer; import org.apache.accumulo.core.data.ByteSequence; import org.apache.accumulo.core.data.Key; import org.apache.accumulo.core.data.Value; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.mapreduce.Counter; import org.apache.hadoop.map...
gh-1535 - renamed method
store-implementation/accumulo-store/src/test/java/uk/gov/gchq/gaffer/accumulostore/operation/hdfs/reducer/AccumuloKeyValueReducerTest.java
gh-1535 - renamed method
<ide><path>tore-implementation/accumulo-store/src/test/java/uk/gov/gchq/gaffer/accumulostore/operation/hdfs/reducer/AccumuloKeyValueReducerTest.java <ide> } <ide> <ide> @Test <del> public void shouldGetGroupFromColumnFamily() throws IOException, InterruptedException { <add> public void shouldGetGroupFrom...
Java
bsd-3-clause
1e8a1ef1baece561ae08ce39898c7e052b06116a
0
NCIP/camod,NCIP/camod,NCIP/camod,NCIP/camod
/** * @author sguruswami * * $Id: ViewModelAction.java,v 1.69 2009-06-01 17:02:46 pandyas Exp $ * * $Log: not supported by cvs2svn $ * Revision 1.68 2009/05/20 17:16:34 pandyas * modified for gforge #17325 Upgrade caMOD to use caBIO 4.x and EVS 4.x to get data * * Revision 1.67 2009/03/25 16:24:58...
software/camod/src/gov/nih/nci/camod/webapp/action/ViewModelAction.java
/** * @author sguruswami * * $Id: ViewModelAction.java,v 1.69 2009-06-01 17:02:46 pandyas Exp $ * * $Log: not supported by cvs2svn $ * Revision 1.68 2009/05/20 17:16:34 pandyas * modified for gforge #17325 Upgrade caMOD to use caBIO 4.x and EVS 4.x to get data * * Revision 1.67 2009/03/25 16:24:58...
modified for gforge #25918 Upgrade caMOD to use caBIO 4.x to get data SVN-Revision: 5509
software/camod/src/gov/nih/nci/camod/webapp/action/ViewModelAction.java
modified for gforge #25918 Upgrade caMOD to use caBIO 4.x to get data
<ide><path>oftware/camod/src/gov/nih/nci/camod/webapp/action/ViewModelAction.java <ide> } <ide> catch (Exception e) <ide> { <del> log.error("Unable to get information from caBIO", e); <add> log.error("ViewModelActi...